[lworld] RFR: 8371977: [lworld] JVM crash when Value Class is declared 'static' and 'strict'

Matias Saavedra Silva matsaave at openjdk.org
Wed Feb 18 17:23:07 UTC 2026


A specific verifier error was not being tested, and it resulted in a crash due to an unnecessary ResourceMark. A new test case to check for this failure was added to `StrictInstanceFieldsTest` and the test was cleaned up for better readability. Verified with tier 1-5 tests.

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

Commit messages:
 - Copyrights and comment
 - New test case and cleanup
 - Merge branch 'lworld' into strict_field_crash_8377009
 - 8377009: [lworld] StrictInstanceFieldsTest.java and StrictStaticFieldsTest.java fail with jasm failed

Changes: https://git.openjdk.org/valhalla/pull/2129/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2129&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8371977
  Stats: 155 lines in 4 files changed: 66 ins; 70 del; 19 mod
  Patch: https://git.openjdk.org/valhalla/pull/2129.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2129/head:pull/2129

PR: https://git.openjdk.org/valhalla/pull/2129


More information about the valhalla-dev mailing list