RFR: 7904134: Defaulting to class file version of 52.0 when compiling jasm leads to several test failures in the JDK

Jaikiran Pai jpai at openjdk.org
Sun Jan 18 16:30:41 UTC 2026


Can I please get a review of this change which addresses the issue noted in https://bugs.openjdk.org/browse/CODETOOLS-7904134?

The change here uses the default class file version of 45.3 instead of 52.0. This should prevent the failures we saw in the JDK repo with the current jtreg mainline code. At the same time, this should continue to address https://bugs.openjdk.org/browse/CODETOOLS-7904122 by preventing the warning logged by jasm compilation in the absence of any explicit default class file version.

With this change I've verified locally that some of the failing tests in the JDK now pass. I've also triggered a tier testing of the JDK with this change.

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

Commit messages:
 - copyright year
 - 7904134: Defaulting to class file version of 52.0 when compiling jasm leads to several test failures in the JDK

Changes: https://git.openjdk.org/jtreg/pull/309/files
  Webrev: https://webrevs.openjdk.org/?repo=jtreg&pr=309&range=00
  Issue: https://bugs.openjdk.org/browse/CODETOOLS-7904134
  Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jtreg/pull/309.diff
  Fetch: git fetch https://git.openjdk.org/jtreg.git pull/309/head:pull/309

PR: https://git.openjdk.org/jtreg/pull/309


More information about the jtreg-dev mailing list