On Wed, 11 Nov 2026 11:45:42 GMT, Alan Bateman <[email protected]> wrote:
> 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). This pull request has now been integrated. Changeset: 81eec8e3 Author: Alan Bateman <[email protected]> URL: https://git.openjdk.org/jdk/commit/81eec8e3c730038eebee9f171aad18b484f3e711 Stats: 1309 lines in 12 files changed: 1274 ins; 21 del; 14 mod 8390009: FieldAccess and FieldModification events should be suppressed during strict initialization Reviewed-by: sspitsyn, cjplummer ------------- PR: https://git.openjdk.org/jdk/pull/33841
