Unable to build the code-reflection branch using JDK 24 as boot jdk
Glavo
zjx001202 at gmail.com
Thu Apr 3 15:55:31 UTC 2025
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
> 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
> 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/ffb7650a/attachment.htm>
More information about the babylon-dev
mailing list