[jdk21u-dev] RFR: 8337102: JITTester: Fix breaks in static initialization blocks
Kirill Shirokov
duke at openjdk.org
Wed Oct 29 17:47:24 UTC 2025
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.
-------------
Commit messages:
- Backport 4669e7b7b02636a8bd7381a9d401aaaf0c1d7294
Changes: https://git.openjdk.org/jdk21u-dev/pull/2214/files
Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=2214&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8337102
Stats: 3 lines in 2 files changed: 0 ins; 0 del; 3 mod
Patch: https://git.openjdk.org/jdk21u-dev/pull/2214.diff
Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/2214/head:pull/2214
PR: https://git.openjdk.org/jdk21u-dev/pull/2214
More information about the jdk-updates-dev
mailing list