[jdk21u-dev] Integrated: 8337102: JITTester: Fix breaks in static initialization blocks

Kirill Shirokov duke at openjdk.org
Wed Dec 31 23:17:06 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.

This pull request has now been integrated.

Changeset: 8b9dff83
Author:    Kirill Shirokov <kirshiro at amazon.com>
Committer: Sergey Bylokhov <serb at openjdk.org>
URL:       https://git.openjdk.org/jdk21u-dev/commit/8b9dff83e81003f37871a59e63202bbdfa51c1b6
Stats:     3 lines in 2 files changed: 0 ins; 0 del; 3 mod

8337102: JITTester: Fix breaks in static initialization blocks

Reviewed-by: andrew
Backport-of: 4669e7b7b02636a8bd7381a9d401aaaf0c1d7294

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

PR: https://git.openjdk.org/jdk21u-dev/pull/2214


More information about the jdk-updates-dev mailing list