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 17:43:38 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.
Thank you Christian for the review. tier testing of the JDK with this change went fine without any related issues.
-------------
PR Comment: https://git.openjdk.org/jtreg/pull/309#issuecomment-3765532122
More information about the jtreg-dev
mailing list