<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;">Hi Jaikiran,<div><br></div><div>Thanks for the reference; yes I now remember seeing this discussion recently.<div><br></div><div>As for me, I didn’t so much upgrade my local XCode, so much as I had to move to a new laptop. ;-)</div><div><br></div><div>— Jon<br id="lineBreakAtBeginningOfMessage"><div><br><blockquote type="cite"><div>On Oct 15, 2024, at 6:47 PM, Jaikiran Pai <jai.forums2013@gmail.com> wrote:</div><br class="Apple-interchange-newline"><div>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div><p>Hello Jon,</p><p>This issue is discussed at
<a class="moz-txt-link-freetext" href="https://bugs.openjdk.org/browse/JDK-8340341">https://bugs.openjdk.org/browse/JDK-8340341</a>. It's a bug in the
clang++ compiler shipped with Xcode 16.<br>
</p><p>-Jaikiran<br>
</p>
<div class="moz-cite-prefix">On 16/10/24 6:33 am, Jonathan Gibbons
wrote:<br>
</div>
<blockquote type="cite" cite="mid:552FCF4A-6748-41AD-9A7B-E0B62ECB026C@pobox.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
I am trying to build a fresh new unmodified copy of OpenJDK, and
have run into the following obscure error. I’m using JDK 23.0.1
as the boot JDK.
<div>The significant line is: </div>
<div><span style="font-size: 13.333333px;"> Exception in thread
"main" java.lang.ClassFormatError: StackMapTable format error:
bad verification type</span><br>
<div><br>
</div>
<div>This is on a Mac, with latest Sonoma OS, and latest Xcode,
although the failure is more in the Java/JDK parts of the
system. Could it be related to the new classfile library?</div>
<div><br>
</div>
<div>— Jon</div>
<div><br>
</div>
<div><p style="font-size: 13.333333px;">Creating
support/modules_cmds/jdk.jdeps/jdeprscan from 1 file(s)<br>
Creating support/modules_cmds/jdk.jdi/jdb from 1 file(s)<br>
Creating support/modules_cmds/jdk.jfr/jfr from 1 file(s)<br>
Creating support/modules_cmds/jdk.jlink/jimage from 1
file(s)<br>
Creating
jdk/modules/jdk.jpackage/jdk/jpackage/internal/resources/jpackageapplauncher
from 16 file(s)<br>
Creating support/modules_cmds/jdk.jlink/jlink from 1 file(s)<br>
Creating support/modules_cmds/jdk.jlink/jmod from 1 file(s)<br>
Creating support/modules_cmds/jdk.jpackage/jpackage from 1
file(s)<br>
Creating support/modules_cmds/jdk.jshell/jshell from 1
file(s)<br>
Creating support/modules_libs/<a href="http://jdk.net/libextnet.dylib" moz-do-not-send="true">jdk.net/libextnet.dylib</a> from 1
file(s)<br>
Creating support/modules_cmds/jdk.jstatd/jstatd from 1
file(s)<br>
Creating
support/modules_libs/jdk.security.auth/libjaas.dylib from 1
file(s)<br>
Compiling up to 4 files for COMPILE_CREATE_SYMBOLS<br>
Compiling up to 70 files for COMPILE_CREATE_SYMBOLS<br>
Exception in thread "main" java.lang.ClassFormatError:
StackMapTable format error: bad verification type<br>
at
jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:64)<br>
at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:52)<br>
make[3]: ***
[/Users/jsqrdg/OpenJDK/jdk/jdk.ref/build/macosx-aarch64-server-release/buildtools/create_symbols_javac/_the.COMPILE_CREATE_SYMBOLS_batch]
Error 1<br>
make[2]: *** [jdk.compiler-gendata] Error 2<br>
make[2]: *** Waiting for unfinished jobs....</p><p style="font-size: 13.333333px;">ERROR: Build failed for
target 'jdk-image' in configuration
'macosx-aarch64-server-release' (exit code 2) <br>
Stopping javac server</p><p style="font-size: 13.333333px;">=== Output from failing
command(s) repeated here ===<br>
* For target
buildtools_create_symbols_javac__the.COMPILE_CREATE_SYMBOLS_batch:<br>
Exception in thread "main" java.lang.ClassFormatError:
StackMapTable format error: bad verification type<br>
at
jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:64)<br>
at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:52)</p><p style="font-size: 13.333333px;">* All command lines
available in
/Users/jsqrdg/OpenJDK/jdk/jdk.ref/build/macosx-aarch64-server-release/make-support/failure-logs.<br>
=== End of repeated output ===</p><p style="font-size: 13.333333px;">No indication of failed
target found.<br>
HELP: Try searching the build log for '] Error'.<br>
HELP: Run 'make doctor' to diagnose build problems.</p>
</div>
</div>
</blockquote>
</div>
</div></blockquote></div><br></div></div></body></html>