Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Providing an automatic module name #866

Open
mthl opened this issue Oct 26, 2022 · 1 comment · May be fixed by #867
Open

Providing an automatic module name #866

mthl opened this issue Oct 26, 2022 · 1 comment · May be fixed by #867
Labels
stale triage me I really want to be triaged. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@mthl
Copy link

mthl commented Oct 26, 2022

Since Java 9, Java provides a module system known as Jigsaw which allow library authors to restrict access of their internal packages and provide a better explicit dependency abstraction.

In order to benefit from this "new" feature, Java libraries need to provide a module-info.java file inside the jar artefact to declare what they requires and what they exports.

However since this can be non-trivial to become modular a important first step for library authors is to register a module-name to enable libraries depending on them to become modular without having to wait for modular refactoring work to be done. To register a module name a library simply need only to define the Automatic-Module-Name property in the META-INF/MANIFEST.MF file inside their jar artefact.

I suggest that this library should register the module name com.google.maps.

@mthl mthl added triage me I really want to be triaged. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. labels Oct 26, 2022
@stale
Copy link

stale bot commented Jun 18, 2023

This issue has been automatically marked as stale because it has not had recent activity. Please comment here if it is still valid so that we can reprioritize. Thank you!

@stale stale bot added the stale label Jun 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale triage me I really want to be triaged. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants