RFR: JDK-8317920: JDWP-agent sends broken exception event with onthrow option
Chris Plummer
cjplummer at openjdk.org
Thu Oct 12 15:53:56 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.
So with 8 there is no NPE? Maybe JDI or jdb used to do something different and just swallowed exception event. Seeing the NPE stack trace would help determine what has changed to cause this behavior difference.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16145#issuecomment-1759892165
More information about the serviceability-dev
mailing list