Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Reviewed and fixed osgi values in manifest and module-info #33

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dmatej
Copy link

@dmatej dmatej commented Aug 16, 2024

Change in imports+exports: 4.0.4 instead of 4.0.4.SNAPSHOT, so it can be locally tested in snapshots together with GlassFish as this is default and consistent behavior.

Packages:

  • API:

    • org.glassfish.gmbal - no change, exported
    • org.glassfish.gmbal.util - internal package used just in local ManagedObjectManagerFactory, change: both export and import stopped (just module-info had this issue).
    • org.glassfish.pfl.tf.timer.spi - no change, exported
  • IMPL

    • The only place I have found its usage is the API module.
    • org.glassfish.gmbal - change: contains just subpackages, so removed from manifest.
    • org.glassfish.gmbal.impl - change: now it is exported in module-info as it is explicitly used by API (reflection). Changed also uses in manifest (generated by Felix).
    • org.glassfish.gmbal.impl.trace - change: not used outside IMPL -> not exported, not imported
    • org.glassfish.gmbal.main - no change, not exported
    • org.glassfish.gmbal.typelib - no change, not exported

@pzygielo
Copy link
Contributor

Can you open new PR for module-info only, please?

@dmatej
Copy link
Author

dmatej commented Sep 10, 2024

Can you open new PR for module-info only, please?

The PR consists of two standalone commits - one is fixing the issue, second makes it testable. Without the second one you cannot test it with GlassFish, so it makes sense just together.

@dmatej
Copy link
Author

dmatej commented Nov 29, 2024

Can you open new PR for module-info only, please?

I will come back to this today, the PR works but I think jpms and osgi should be in sync and the aren't. But I am sure it should be just a single PR.

EDIT: TODAY I meant in January? 👎
EDIT: Rebased and revisited, however I will rebase and retest the whole set of dependencies together with GlassFish for sure.

@dmatej dmatej self-assigned this Jan 31, 2025
@dmatej dmatej added this to the 4.0.4 milestone Jan 31, 2025
@dmatej dmatej added the bug Something isn't working label Jan 31, 2025
@dmatej dmatej changed the title Fixed package name in module-info Reviewed and fixed osgi values in manifest and module-info Jan 31, 2025
@dmatej dmatej marked this pull request as draft January 31, 2025 23:03
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants