Integrated: 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.
This pull request has now been integrated.
Changeset: a3b1279c
Author: Jaikiran Pai <jpai at openjdk.org>
URL: https://git.openjdk.org/jtreg/commit/a3b1279cfbe954537e99b45f9c9647b99b9b7f85
Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod
7904134: Defaulting to class file version of 52.0 when compiling jasm leads to several test failures in the JDK
Reviewed-by: cstein
-------------
PR: https://git.openjdk.org/jtreg/pull/309
More information about the jtreg-dev
mailing list