On Wed, 11 Oct 2023 10:44:53 GMT, Johannes Bechberger <jbechber...@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.

I can confirm that it doesn't work properly in JDK 8, I have to check older 
JDKs.

But it kind of worked, because it started a debugging session after the 
specified exception had been thrown. It just didn't send a proper exception 
event. It's definitely a useful feature.

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

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

Reply via email to