RFR: JDK-8317920: JDWP-agent sends broken exception event with onthrow option [v6]

Johannes Bechberger jbechberger at openjdk.org
Thu Oct 19 07:36:05 UTC 2023


On Wed, 18 Oct 2023 20:05:07 GMT, Chris Plummer <cjplummer at openjdk.org> 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


More information about the serviceability-dev mailing list