RFR: 7904134: Defaulting to class file version of 52.0 when compiling jasm leads to several test failures in the JDK
Christian Stein
cstein at openjdk.org
Sun Jan 18 16:55:36 UTC 2026
On Sun, 18 Jan 2026 16:25:23 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:
> 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.
Sounds reasonable.
-------------
Marked as reviewed by cstein (Reviewer).
PR Review: https://git.openjdk.org/jtreg/pull/309#pullrequestreview-3675588396
More information about the jtreg-dev
mailing list