On Mon, 2 Jun 2025 17:21:21 GMT, Joe Darcy <da...@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