RFR: 8340341: Abort in configure when using Xcode 16.0 or 16.1

Julian Waters jwaters at openjdk.org
Thu Apr 3 14:42:58 UTC 2025


On Thu, 3 Apr 2025 09:44:02 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> The JDK mainline build when using XCode 16 or 16.1 fails with:
> 
> 
> * For target buildtools_create_symbols_javac__the.COMPILE_CREATE_SYMBOLS_batch:
> Exception in thread "main" java.lang.ClassFormatError: StackMapTable format error: bad verification type
>         at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:64)
>         at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:52)
> 
> 
> This is due to a compiler bug in Xcode, which was fixed in 16.2. We should catch this at configure time, since the build error is very confusing.

Good call!

-------------

Marked as reviewed by jwaters (Committer).

PR Review: https://git.openjdk.org/jdk/pull/24408#pullrequestreview-2740147375


More information about the build-dev mailing list