On Tue, 18 Aug 2026 21:56:15 GMT, Chris Plummer <[email protected]> wrote:
>> test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/stop/stop002t.java
>> line 144:
>>
>>> 142: stopMeHere++; stopMeHere--;
>>> 143: }
>>> 144: if (vthreadMode) {
>>
>> We could also restrict this case to when the debugger actually received
>> `OpaqueFrameException`.
>
> So you are worried about the case of no exception thrown on the debuggee
> side, but also no OpaqueFrameException on the debugger side. I'll need to add
> some additional communication between the debugger and debuggee. testNumReady
> is not sufficient, especially since the debugger does not ever write it.
I updated the test to add more checks and verify that OPE was thrown on the
debugger side when we don't see any exception on the debuggee side.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/32403#discussion_r3816216931