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

JDK next requires JDK22+ bootstrap SDK #20402

Open
JasonFengJ9 opened this issue Oct 23, 2024 · 4 comments
Open

JDK next requires JDK22+ bootstrap SDK #20402

JasonFengJ9 opened this issue Oct 23, 2024 · 4 comments

Comments

@JasonFengJ9
Copy link
Member

Failure link

https://openj9-jenkins.osuosl.org/job/Build_JDKnext_aarch64_linux_OpenJDK/660/console

Optional info

Failure output (captured from console output)

00:41:21 === Output from failing command(s) repeated here ===
00:41:21 * For target buildtools_interim_langtools_modules_java.compiler.interim__the.BUILD_java.compiler.interim_batch:
00:41:21 warning: unknown enum constant Feature.FOREIGN
00:41:21 error: warnings found and -Werror specified
00:41:21 1 error
00:41:21 1 warning

jdk.internal.javac.PreviewFeature$Feature.FOREIGN is only available at JDK 22+, not JDK21 which is still used by OpenJ9 as bootstrap SDK.

FYI @pshipton

Copy link

Issue Number: 20402
Status: Open
Recommended Components: comp:build, comp:vm, comp:jclextensions
Recommended Assignees: jasonfengj9, keithc-ca, pshipton

@pshipton
Copy link
Member

See ibmruntimes/openj9-openjdk-jdk#827, we can work around this for now.

@pshipton
Copy link
Member

Keep this open as a reminder to remove ibmruntimes/openj9-openjdk-jdk#866 once we update the bootjdk.

@pshipton
Copy link
Member

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

No branches or pull requests

2 participants