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

Sergey Bylokhov serb at openjdk.org
Sat Jan 13 18:47:18 UTC 2024


On Tue, 9 Jan 2024 09:31:30 GMT, Jiří Vaněk <jvanek at openjdk.org> wrote:

>I think j2dbench should go in spirit of in-tree jtregs and shold be ok for jdk it is cloned from. Anybody who wishes to run it on older jdk, can clone it from older jdk.

The code in the j2dbench is maintained in a way that every new feature/tests added to it should work on the old JDK version, or be skipped. That helps to compare the performance of say JDK21 vs JDK8 with the new tests. and the old source/target helps to check that the new java lang features are not added to it.

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

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


More information about the client-libs-dev mailing list