-
Notifications
You must be signed in to change notification settings - Fork 71
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
jdeps in openjdk 11.0.11 also uses versions/N directory for module-info.java output #141
Comments
Thanks @gunnarmorling, I'm gonna try to solve it. |
@gunnarmorling I sent my idea to address more cases... let me know what you think of it. Thanks |
gunnarmorling
pushed a commit
that referenced
this issue
Sep 1, 2021
…argument * Add helper to parse and extract java version * Use version for multi release JDK 11.0.11+ * Support --multi-release=X case
Squashed and applied the provided fix. Thanks a lot, @fax4ever! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm not 100% sure about this, but in CI with 11.0.11 my build is failing due to:
Locally (11.0.10) the build works fine.
I stuck a
find common
in there and see:So it appears jdeps is writing module-info to the versions/9 directory.
Per https://mail.openjdk.java.net/pipermail/jdk-updates-dev/2021-April/005860.html
It looks like this change snuck in the change that writes to the multi-release directory:
http://cr.openjdk.java.net/~mchung/jdk14/8229396/webrev.00/src/jdk.jdeps/share/classes/com/sun/tools/jdeps/ModuleInfoBuilder.java.udiff.html
For other people reading, there's code in moditect to use the
versions/N
directory if your java version is 14 or higher, so using openjdk 14+ might be a workaround.The text was updated successfully, but these errors were encountered: