> As discussed with Sergeui, Chris and Fred: Update JVMTI to not send field > access and modification events during construction of objects with > strictly-initialized instance fields and initialization of classes with > strictly-initialized static fields. The JVMTI, JDWP and JDI API docs are > updated to specify the behavior. > > A new test is added to exercise strict instance and static fields, > constructor chaining, inheritance, value classes, and record classes. > > The jdwpgen tool is updated to add anchors to the the event descriptions in > the JDWP spec to allow linking. > > Testing: tier1-3. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Alan Bateman 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 19 additional commits since the last revision: - Address review comments with test - Merge branch 'master' into WatchedField - Drop: Constructor invocations in caller frames are not considered. - Update comment - Ignore this-escape - Merge branch 'master' into WatchedField - Add @bug to test - Merge branch 'master' into WatchedField - Improve wording, drop some commas - Spec/docs improvements - ... and 9 more: https://git.openjdk.org/jdk/compare/973b9850...cf298eb4 ------------- Changes: - all: https://git.openjdk.org/jdk/pull/33841/files - new: https://git.openjdk.org/jdk/pull/33841/files/10f1e57f..cf298eb4 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=33841&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=33841&range=01-02 Stats: 2951 lines in 56 files changed: 2273 ins; 250 del; 428 mod Patch: https://git.openjdk.org/jdk/pull/33841.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/33841/head:pull/33841 PR: https://git.openjdk.org/jdk/pull/33841
