RFR: 8323170 - j2dbench is using outdated javac source/target to be able to build by itself

Laurent Bourgès lbourges at openjdk.org
Thu Jan 18 12:29:13 UTC 2024


On Mon, 8 Jan 2024 13:03:22 GMT, Jiří Vaněk <jvanek at openjdk.org> wrote:

> This PR is fixig to-old values of javac source/target for jdk22.
> Note, that jdk21 suffers the same, only the target values have to be 8. I will be happy to backport this cange to jdk17 later.
> 
> Note, that considering the rolling release of jdk and the reached threshold of bytecode compatibility, we will be forced to do this bump every STS, so best would be to drop this hardcoded limitation. As it obtains a bit more coding, I had filled the [JDK-8323169](https://bugs.openjdk.org/browse/JDK-8323169) - [ j2dbench need constant updating of javac source/target ](https://bugs.openjdk.org/browse/JDK-8323169)  and will be happy to fit it for jdk asap once this direct fix bubbles to jdk21

Many swing demo or benchmarks like J2DBench, J2DDemo & RenderPerf are compatible accross jdk (8-23).
Having an openjdk common or shared tools could be great

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

PR Comment: https://git.openjdk.org/jdk/pull/17303#issuecomment-1898386642


More information about the client-libs-dev mailing list