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

Frederic Parain fparain at openjdk.org
Fri Jan 30 20:37:39 UTC 2026


On Fri, 30 Jan 2026 00:32:16 GMT, Chen Liang <liach at openjdk.org> wrote:

>> 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

@liach , could you discuss with @matias9927 before pushing this changeset? He's the one who wrote these verifier tests, and he could have feedback about using post-processing versus re-writing the tests with jasm.

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

PR Comment: https://git.openjdk.org/valhalla/pull/1960#issuecomment-3825625932


More information about the valhalla-dev mailing list