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

Chris Plummer cjplummer at openjdk.org
Wed Oct 11 22:37:10 UTC 2023


On Wed, 11 Oct 2023 10:44:53 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.

Also, does `onthrow` ever work, or is it completely broken? If it is completely broken I'd be curious as to when/how this happened.

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

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


More information about the serviceability-dev mailing list