On Wed, 18 Nov 2026 04:33:39 GMT, Chris Plummer <[email protected]> wrote:
>> Alan Bateman has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> Word smith JDWP spec change
>
> test/jdk/com/sun/jdi/valhalla/FieldWatchpointsTest.java line 127:
>
>> 125:
>> 126: request =
>> eventRequestManager().createAccessWatchpointRequest(watchField);
>> 127: testCases.add(new TestCase("access", 2, request)); //
>> staticField, instanceField
>
> I think to test field access in the constructors all you need to do is add an
> access to the constructor, and this count should remain 2.
>
> BTW, this test has a bunch or unused code in it, but I suppose that could be
> remove by another CR. I'll file one if you want.
Yes, I think that test went into the lworld branch in 2025 and does need more
clean up now. A JBS issue to track doing the cleanup would be good.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/33841#discussion_r4611075052