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.

No. But if neccessary I could write one analogous to the OnJcmdTest, using 
`jdb` to check that no NullPointerException occurs in the JDI exception 
receiving code. This should test the current problem pretty reliably without 
too much effort.

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

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

Reply via email to