-
Notifications
You must be signed in to change notification settings - Fork 15
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
07543988774cc46b0e2e9352f730968ace302d51 breaks compatibility with upstream OpenJDK 11 #373
Comments
@jerboaa I think the best way to resolve this is by backporting JDK-8220623 (or maybe just the Alternatively we can work-around this on the GraalVM side, by overriding the methods only when using JDK 17. But that doesn't look like an actual fix. WDYT? |
Backporting JDK-8220623 in its entirety is unfortunately not on the table. It's way to risky to backport to a stable release. We could consider a partial backport. I'll do some digging later today... |
I've filed this OpenJDK issue for it: |
This should be fixed once |
Latest ea build from temurin should have this fixed. For example |
Confirmed (see https://github.com/graalvm/mandrel/runs/6388571079?check_suite_focus=true) Thanks for the heads up @jerboaa |
Description
0754398 overrides
getAddress
andgetEntryPoint
in substratevm/src/com.oracle.svm.graal/src/com/oracle/svm/graal/meta/SubstrateInstalledCodeImpl.java, but these methods arefinal
in upstream OpenJDK 11.The
final
keyword was removed in OpenJDK 13 with JDK-8220623 and is not backported to OpenJDK 11 causing GraalVM to fail to build.See https://github.com/graalvm/mandrel/runs/6000866138?check_suite_focus=true#step:7:430
Configuration:
Expected behavior
Mandrel should build with upstream OpenJDK 11
The text was updated successfully, but these errors were encountered: