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.

There is an NPE on JDK 8. The onthrow option doesn't work properly there too. 
The bug is in the code since it is on GitHub. The stack trace in JDB looks 
exactly the same in JDK 8 as in JDK 21.

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

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

Reply via email to