RFR: 8357979: [JVMCI] jdk.internal.vm.ci should have earlier class file version

Doug Simon dnsimon at openjdk.org
Mon Jun 2 19:38:50 UTC 2025


On Mon, 2 Jun 2025 17:21:21 GMT, Joe Darcy <darcy at openjdk.org> wrote:

> is _almost_ never more appropriate than using
> 
> `javac --release $OLD ..."
> 
> The `options` warning would be noting the possible use of `--release`.

I wanted to use `--release` initially but it is not configurable in a module's `Java.gmk`. That is, TARGET_RELEASE is not supported in [CompileJavaModules.gmk](https://github.com/openjdk/jdk/blob/5243f3851b0345b874ff51ea3a07e82f73741546/make/CompileJavaModules.gmk#L101-L124).

However, thinking this through a little more, we really do need something closer to `--release` for the use case behind this PR. I'll postpone working on this PR and try capture the requirements in more detail in [JDK-8357979](https://bugs.openjdk.org/browse/JDK-8357979).

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

PR Comment: https://git.openjdk.org/jdk/pull/25494#issuecomment-2932184001


More information about the build-dev mailing list