> We should allow unset fields when `uninitializedThis` is in the stack, in > addition to only checking locals, as a result of > https://bugs.openjdk.org/browse/JDK-8375481. > > Noticed that hotspot's verifier is not up-to-date with this spec; this patch > therefore only fixes classfile API and javap and leaves classfile API's > verifier and hotspot in place. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
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 three additional commits since the last revision: - Add 8389843 - Merge branch 'master' of https://github.com/openjdk/jdk into fix/cf-unset-restriction - unset field allowed for uninitThis on stack ------------- Changes: - all: https://git.openjdk.org/jdk/pull/32224/files - new: https://git.openjdk.org/jdk/pull/32224/files/77d03311..1c0f77df Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=32224&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=32224&range=00-01 Stats: 7437 lines in 256 files changed: 5318 ins; 904 del; 1215 mod Patch: https://git.openjdk.org/jdk/pull/32224.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/32224/head:pull/32224 PR: https://git.openjdk.org/jdk/pull/32224
