Open pshipton opened 3 months ago
@keithc-ca any ideas what's going on?
I'll have a look.
I see the same symptoms on xlinux using a temurin jdk21 as the boot jdk.
I think the problem is due to references to PreviewFeature.Feature.UNNAMED_CLASSES
in the bootjdk but absent in the interim compiler via the patch (--patch-module java.base=$(BUILDTOOLS_OUTPUTDIR)/gensrc/java.base.interim
in CompileInterimLangtools.gmk
). We can either use Java 22 (temurin or openj9) for the bootjdk or patch PreviewFeature.java
to allow continued use of Java 21 (temurin) for the bootjdk. My preference is the former unless https://github.com/eclipse-openj9/openj9/issues/19694 will not be addressed soon enough.
Changes linked above address this. Those changes should be reverted once the minimum bootjdks are updated to remove Java 21.
I've merged the changes. Keeping this open in the next milestone plan as a reminder to revert.
The Semeru xmac build is failing to compile, either from the 0.47 branches or the latest. (boot JDK Temurin 21.0.4) https://hyc-runtimes-jenkins.swg-devops.com/job/build-scripts/job/jobs/job/jdk23/job/jdk23-mac-x64-openj9/4 https://hyc-runtimes-jenkins.swg-devops.com/job/build-scripts/job/jobs/job/jdk23/job/jdk23-mac-x64-openj9/10
The open build is working. (boot JDK Semeru 21.0.1) https://openj9-jenkins.osuosl.org/job/Build_JDK23_x86-64_mac_Nightly/7/ https://openj9-jenkins.osuosl.org/job/Build_JDK23_x86-64_mac_Release/2/
Other than the boot JDK, I'm not sure what's different.
jdk.internal.javac.PreviewFeature.Featue.UNNAMED_CLASSES exists in jdk21 (and jdk22), but not in jdk23. Removed via https://github.com/ibmruntimes/openj9-openjdk-jdk23/commit/c3f769f9144
I found the following which may be related. https://github.com/search?q=repo%3Aibmruntimes%2Fopenj9-openjdk-jdk23%20UNNAMED_CLASSES&type=code