On Tue, 1 Jul 2025 14:11:32 GMT, Magnus Ihse Bursie <i...@openjdk.org> wrote:
> From the bug description: > > There are plans to build libgraal in JDK master using a version of Native > Image running on a JDK one version behind JDK master. This Native Image > execution needs to be able to load the JVMCI classes as they are built into > the libgraal image. As such, the JVMCI classes must have a class file major > version of N-1 where N is the major class file version of JDK master. > > This PR is basically the same change as published by Doug in > https://github.com/openjdk/jdk/pull/25494, but it contains some cleanup and > adds and uses the `TARGET_RELEASE` argument that Doug correctly realized was > needed. make/common/JavaCompilation.gmk line 42: > 40: # Create classes that can run on the bootjdk > 41: # -Xlint:-options is added to avoid "warning: [options] system modules > path not set in conjunction with -source" > 42: TARGET_RELEASE_BOOTJDK := -source $(OLDEST_BOOT_JDK_VERSION) -target > $(OLDEST_BOOT_JDK_VERSION) -Xlint:-options Line length? ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/26069#discussion_r2266708444