<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
<div>Hi Glavo,</div>
<div><br>
</div>
<div>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 <a href="https://github.com/openjdk/babylon/pull/305">https://github.com/openjdk/babylon/pull/305</a> is integrated (hopefully in the next
few days).</div>
<div><br>
</div>
<div>Paul.</div>
<div><br>
<blockquote type="cite">
<div>On Apr 3, 2025, at 8:55 AM, Glavo <zjx001202@gmail.com> wrote:</div>
<br class="Apple-interchange-newline">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">Hi,
<div><br>
</div>
<div>I wanted to try using Babylon/HAT, so I built the JDK based on the latest commit (225e2b7) of the code-reflection branch.</div>
<div>Unfortunately, if I use JDK 24 as the boot jdk, it quickly fails to build with this error:</div>
<div><br>
</div>
<div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
* For target buildtools_depend__the.COMPILE_DEPEND_batch:<br>
error: cannot access module-info<br>
bad class file: /modules/<a href="http://java.se/module-info.class" target="_blank">java.se/module-info.class</a><br>
bad requires flag: ACC_TRANSITIVE (0x0020<br>
Please remove or make sure it appears in the correct subdirectory of the classpath.<br>
1 error<br>
* For target buildtools_jdk_tools_classes__the.BUILD_TOOLS_JDK_batch:<br>
error: cannot access module-info<br>
bad class file: /modules/<a href="http://java.se/module-info.class" target="_blank">java.se/module-info.class</a><br>
bad requires flag: ACC_TRANSITIVE (0x0020<br>
Please remove or make sure it appears in the correct subdirectory of the classpath.<br>
1 error</blockquote>
<div><br>
</div>
<div>But I switched to JDK 23.0.2 as the boot jdk and everything worked fine.</div>
<div><br>
</div>
<div>Glavo</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</body>
</html>