RFR: JDK-8317920: JDWP-agent sends broken exception event with onthrow option

Johannes Bechberger jbechberger at openjdk.org
Wed Oct 11 10:52:57 UTC 2023


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


More information about the serviceability-dev mailing list