[lworld] RFR: 8349037: [lworld] runtime/valhalla/inlinetypes/CircularityTest.java crashes with SIGSEGV

Frederic Parain fparain at openjdk.org
Tue Sep 16 19:27:59 UTC 2025


runtime/valhalla/inlinetypes/CircularityTest.java was written to test the behavior of the JVM with respect of the initialization of classes of default values when the JVM was in charge of initializing null-restricted fields.
JEP 401 went into a different direction, the concept of default value has been removed, and the concept of strict fields has been defined to force user code to reliably initialized all strict fields before their first read.
Strict fields have their own tests ensuring static fields initialization rules are correctly enforced.
This test is then obsolete and should be removed from the repository.

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

Commit messages:
 - Remove obsolete test

Changes: https://git.openjdk.org/valhalla/pull/1592/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=1592&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8349037
  Stats: 207 lines in 2 files changed: 0 ins; 207 del; 0 mod
  Patch: https://git.openjdk.org/valhalla/pull/1592.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1592/head:pull/1592

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


More information about the valhalla-dev mailing list