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

The Null Annotations jar: org.eclipse.jdt.annotation does not have a module-info.java #2538

Open
agentgt opened this issue Jun 7, 2024 · 1 comment
Assignees

Comments

@agentgt
Copy link

agentgt commented Jun 7, 2024

The Eclipse nullable annotations jar does not have a module-info.java which makes using jlink extremely difficult.

The simplest solution is to use something like moditect or a multi release jar.

Without this I will most likely have to switch to JSpecify jars sooner as they have a module-info.java.

@stephan-herrmann I'm happy to try to put in a PR however I'm not as familiar with the tycho-compiler and not sure what its compatibility is with something like moditect.

@agentgt
Copy link
Author

agentgt commented Jun 7, 2024

Feel free to just copy what I did in the PR. It uses moditect to do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants