forked from oracle/graal
-
Notifications
You must be signed in to change notification settings - Fork 16
Closed
graalvm/mandrel-packaging
#489Labels
Milestone
Description
Description
Recent builds of GraalVM for JDK 25 fail with the following error:
Error occurred during initialization of boot layer
java.lang.module.FindException: Module org.graalvm.nativeimage.shaded.capnproto not found, required by org.graalvm.nativeimage.builder
Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: Failed, exit code: 1
at OperatingSystem.exec(build.java:1878)
at build.buildAgents(build.java:306)
at build.main(build.java:249)
Caused by: java.lang.RuntimeException: Failed, exit code: 1
at OperatingSystem.exec(build.java:1867)
at build.buildAgents(build.java:306)
at build.main(build.java:249)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at jdk.compiler/com.sun.tools.javac.launcher.SourceLauncher.execute(SourceLauncher.java:254)
at jdk.compiler/com.sun.tools.javac.launcher.SourceLauncher.run(SourceLauncher.java:138)
at jdk.compiler/com.sun.tools.javac.launcher.SourceLauncher.main(SourceLauncher.java:76)
This is using JDK 25+18 and Graal master at revision 6da4e92
Upstream GraalVM uses JDK 25+17 still it seems. The fix might be to remove the dependency or do a similar fix to #834