-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[GR-60173] Register custom module-info compilation participant for JDK builds without JMODs #10161
Conversation
1f0ed93
to
ba73706
Compare
a00e006
to
485f2eb
Compare
@olpaw Could you help reviewing this please? Thank you! |
I created an internal issue. Waiting for review comments to be addressed. |
Thanks for the review. Working on an update. |
With JEP 493, part of JDK 24, it's possible to have JDK builds without the `jmods` folder. Currently substratevm builds assume `jmods` are always present. This patch adds an extension to mx so as to produce custom javac args when specific substratevm dependencies get compiled. All of this is activated only when `--no-jlinking` option is being used. This patch depends on (which adds the needed abstractions to mx): graalvm/mx#287
485f2eb
to
b72ef98
Compare
@olpaw Updated the PR. Thanks again! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good. Integrating ... ⏳
@olpaw Not sure if integration worked/works for this. Do I need to resolve the conflict or would that be counter-productive? |
No worries. Already took care of that. |
…K builds without JMODs #10161. PullRequest: graal/19464
Thank you! |
With JEP 493, part of JDK 24, it's possible to have JDK builds without the
jmods
folder. Currently substratevm builds assumejmods
are always present. This patch adds an extension to mx so as to produce custom javac args when specific substratevm dependencies get compiled.All of this is activated only when
--no-jlinking
option is being used. It's a no-op for regular GraalVM builds.This patch depends on (which adds the needed abstractions to mx):
graalvm/mx#287
Edit:
mx
version7.35.1
has the needed dependency. This is what 485f2eb updates to.Closes: graalvm#808