On Wed, 18 Oct 2023 20:05:07 GMT, Chris Plummer <[email protected]> wrote:
>> Johannes Bechberger has updated the pull request incrementally with one
>> additional commit since the last revision:
>>
>> Add suggested modification
>
> test/jdk/com/sun/jdi/JdwpOnThrowTest.java line 64:
>
>> 62: int port = findFreePort();
>> 63: try (Debuggee debuggee =
>> Debuggee.launcher("ThrowCaughtException").setAddress("localhost:" + port)
>> 64: .enableOnThrow("Ex",
>> "Start").setSuspended(true).launch()) {
>
> It's interesting that Debuggee.enableOnThrow() was already implemented for
> you, but there are no other users of it.
I implemented it.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16145#discussion_r1365045016