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

Jiří Vaněk jvanek at openjdk.org
Thu Jan 18 10:56: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

Maybe it have sense to move j2d bench out of the jdk as [jmh](https://github.com/openjdk/jmh) did?

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

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


More information about the client-libs-dev mailing list