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 added a minimal test case which starts a debugging session for a basic 
program and attaches to it via JDI to check that the JDWP-agent throws an 
exception event with non-null properties. The case fails for the current master 
and succeeds with this PR.

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

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

Reply via email to