RFR: JDK-8317920: JDWP-agent sends broken exception event with onthrow option
Chris Plummer
cjplummer at openjdk.org
Sat Oct 14 21:29:38 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 when you said "But it kind of worked", you were referring to both JDK 8 and current JDK, and were just pointing out that it did start the debugging session.
I'd still like to see the NPE stack trace.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16145#issuecomment-1763178085
More information about the serviceability-dev
mailing list