[lworld] RFR: 8376046: [lworld] Adjust @NullRestricted tests to remove @Strict [v3]

Chen Liang liach at openjdk.org
Tue Jan 27 15:57:04 UTC 2026


> PR 3 in the series of strict removal. PR 2 is #1951. PR 4 is #1960.
> 
> Massive search and replace to replace all usage of `@Strict` and `@NullRestricted` with just `@NullRestricted`. Requires both #1951 and #1952. (CI will only pass with #1952)

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 nine additional commits since the last revision:

 - Merge branch 'lworld' of https://github.com/openjdk/valhalla into test/remove-strict
 - Redundancy in dummy source
 - Merge branch 'test/strict-out' into test/remove-strict
 - Spurious test removal, should be removed by hotspot change instead
 - Remove @Strict where @NullRestricted is present
 - Purge missed jdk internal annotation export
 - Fix ValueObjectCompilationTest
 - Merge branch 'lworld' of https://github.com/openjdk/valhalla into test/strict-out
 - Remove translation difference due to strict annotation

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

Changes:
  - all: https://git.openjdk.org/valhalla/pull/1959/files
  - new: https://git.openjdk.org/valhalla/pull/1959/files/a26e5b21..d9567ee3

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

  Stats: 1313 lines in 25 files changed: 1112 ins; 129 del; 72 mod
  Patch: https://git.openjdk.org/valhalla/pull/1959.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1959/head:pull/1959

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


More information about the valhalla-dev mailing list