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

Chen Liang liach at openjdk.org
Fri Jan 30 00:32:16 UTC 2026


> PR 4 in the series of strict removal. PR 3 is #1959. PR 5 is #1961.
> 
> 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.

Chen Liang has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:

 - Merge branch 'test/remove-strict' into test/plain-strict
 - Migrate interal strict to processor anno

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

Changes:
  - all: https://git.openjdk.org/valhalla/pull/1960/files
  - new: https://git.openjdk.org/valhalla/pull/1960/files/c9c163cd..7507eb18

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=valhalla&pr=1960&range=02
 - incr: https://webrevs.openjdk.org/?repo=valhalla&pr=1960&range=01-02

  Stats: 1852 lines in 68 files changed: 1314 ins; 258 del; 280 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