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

Kirill Shirokov duke at openjdk.org
Wed Dec 31 23:16:29 UTC 2025


On Tue, 16 Sep 2025 18:11:43 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 typically the error reproduces during the first generation round.
> With the fix, there is no error for 10s of rounds.

This pull request has now been integrated.

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

8337102: JITTester: Fix breaks in static initialization blocks

Backport-of: 4669e7b7b02636a8bd7381a9d401aaaf0c1d7294

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

PR: https://git.openjdk.org/jdk17u-dev/pull/3941


More information about the jdk-updates-dev mailing list