[jdk21u-dev] RFR: 8337102: JITTester: Fix breaks in static initialization blocks
Andrew John Hughes
andrew at openjdk.org
Sat Dec 20 13:27:26 UTC 2025
On Tue, 16 Sep 2025 00:45:55 GMT, Kirill Shirokov <duke at openjdk.org> wrote:
> The backport verified on MacOS/Linux/Windows by manually running JITTester.
>
> Verification involved modifying JITTester code to terminate with non-zero exit code when encountering specific compilation error (a break statement in a static initializer) in the generated code and enabling static initializer generation in configuration file in non-fixed version.
>
> Without the fix in most cases the error is reproduced during the first generation round.
> With the fix, there is no error for 10s of rounds.
Backport looks good.
You need to apply for approval to move this forward.
-------------
Marked as reviewed by andrew (Reviewer).
PR Review: https://git.openjdk.org/jdk21u-dev/pull/2214#pullrequestreview-3601107668
More information about the jdk-updates-dev
mailing list