mandrel
mandrel copied to clipboard
[24.0] Mandrel builds fail with JDK 22.0.2-ea
Description
Mandrel 24.0 builds have started failing with 22.0.2-ea
(masked as 22.0.1-beta+36-202404131209
, since Oracle doesn't provide a tree with 22.0.2 ea sources) due to the backport of https://bugs.openjdk.org/browse/JDK-8324646 to JDK 22 (https://bugs.openjdk.org/browse/JDK-8329554)
Failures look like this:
Failed generating 'quarkus-integration-test-resteasy-jackson-999-SNAPSHOT-runner' after 29.1s.
The build process encountered an unexpected error:
com.oracle.svm.core.util.VMError$HostedError: InternalFeature defined by com.oracle.svm.hosted.SecurityServicesFeature unexpectedly failed with a(n) com.oracle.svm.util.ReflectionUtil$ReflectionUtilError
at org.graalvm.nativeimage.builder/com.oracle.svm.core.util.VMError.shouldNotReachHere(VMError.java:86)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.FeatureHandler.handleFeatureError(FeatureHandler.java:293)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.FeatureHandler.forEachFeature(FeatureHandler.java:95)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:784)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:571)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:537)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:526)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:701)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.start(NativeImageGeneratorRunner.java:140)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:95)
Caused by: com.oracle.svm.util.ReflectionUtil$ReflectionUtilError: java.lang.NoSuchFieldException: constructorParameterClassName
at org.graalvm.nativeimage.base/com.oracle.svm.util.ReflectionUtil.lookupField(ReflectionUtil.java:161)
at org.graalvm.nativeimage.base/com.oracle.svm.util.ReflectionUtil.lookupField(ReflectionUtil.java:133)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.SecurityServicesFeature.getConstructorParameterClassAccessor(SecurityServicesFeature.java:662)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.SecurityServicesFeature.registerServiceReachabilityHandlers(SecurityServicesFeature.java:527)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.SecurityServicesFeature.beforeAnalysis(SecurityServicesFeature.java:332)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.lambda$runPointsToAnalysis$10(NativeImageGenerator.java:784)
at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.FeatureHandler.forEachFeature(FeatureHandler.java:93)
... 7 more
Caused by: java.lang.NoSuchFieldException: constructorParameterClassName
at java.base/java.lang.Class.getDeclaredField(Class.java:2792)
at org.graalvm.nativeimage.base/com.oracle.svm.util.ReflectionUtil.lookupField(ReflectionUtil.java:140)
... 13 more
See: https://github.com/graalvm/mandrel/actions/runs/8747051267/job/24004916272#step:8:519 and https://github.com/graalvm/mandrel/actions/runs/8747051267/job/24005368747#step:13:2700