RFR: 8351362: [lworld] Post-process @StrictInit annotation for testing

Chen Liang liach at openjdk.org
Sun Jan 25 07:01:12 UTC 2026


PR 4 in the series of strict removal. PR 3 is #1959.

Removes all remaining occurrences of `jdk.internal.vm.annotation.Strict` and `@Strict\b` regex in all `.java` files. They are migrated to the post-processor included in this PR that is similar to test/lib ClassFileInstaller. Note there are still occurrences in jasm/jcod files, but those won't matter.

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

Depends on: https://git.openjdk.org/valhalla/pull/1959

Commit messages:
 - Migrate interal strict to processor anno

Changes: https://git.openjdk.org/valhalla/pull/1960/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=1960&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8351362
  Stats: 606 lines in 13 files changed: 545 ins; 7 del; 54 mod
  Patch: https://git.openjdk.org/valhalla/pull/1960.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1960/head:pull/1960

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


More information about the valhalla-dev mailing list