Unable to build the code-reflection branch using JDK 24 as boot jdk
Paul Sandoz
paul.sandoz at oracle.com
Thu Apr 3 18:23:00 UTC 2025
Hi Glavo,
To use 24 as the boot JDK we need merge code-reflection with master, which we want to do anyway and will do so after https://github.com/openjdk/babylon/pull/305 is integrated (hopefully in the next few days).
Paul.
On Apr 3, 2025, at 8:55 AM, Glavo <zjx001202 at gmail.com> wrote:
Hi,
I wanted to try using Babylon/HAT, so I built the JDK based on the latest commit (225e2b7) of the code-reflection branch.
Unfortunately, if I use JDK 24 as the boot jdk, it quickly fails to build with this error:
* For target buildtools_depend__the.COMPILE_DEPEND_batch:
error: cannot access module-info
bad class file: /modules/java.se/module-info.class<http://java.se/module-info.class>
bad requires flag: ACC_TRANSITIVE (0x0020
Please remove or make sure it appears in the correct subdirectory of the classpath.
1 error
* For target buildtools_jdk_tools_classes__the.BUILD_TOOLS_JDK_batch:
error: cannot access module-info
bad class file: /modules/java.se/module-info.class<http://java.se/module-info.class>
bad requires flag: ACC_TRANSITIVE (0x0020
Please remove or make sure it appears in the correct subdirectory of the classpath.
1 error
But I switched to JDK 23.0.2 as the boot jdk and everything worked fine.
Glavo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/babylon-dev/attachments/20250403/f9985585/attachment.htm>
More information about the babylon-dev
mailing list