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.

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

Commit messages:
 - Fix onthrow issue

Changes: https://git.openjdk.org/jdk/pull/16145/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16145&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8317920
  Stats: 29 lines in 1 file changed: 18 ins; 3 del; 8 mod
  Patch: https://git.openjdk.org/jdk/pull/16145.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16145/head:pull/16145

PR: https://git.openjdk.org/jdk/pull/16145

Reply via email to