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

Johannes Bechberger jbechberger at openjdk.org
Tue Oct 17 19:56:50 UTC 2023


On Mon, 16 Oct 2023 21:05:58 GMT, Johannes Bechberger <jbechberger at openjdk.org> wrote:

>> Fix `onthrow` issue by passing the event info to the `initialize` method.
>> 
>> This prevents `jdb` from receiving a broken exception event and throwing an internal NullPointerException, upon attaching to the JDWP-agent.
>
> Johannes Bechberger has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update test/jdk/com/sun/jdi/JdwpOnThrowTest.java
>   
>   Co-authored-by: Chris Plummer <chris.plummer at oracle.com>

Good point.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/16145#issuecomment-1767070467


More information about the serviceability-dev mailing list