[jdk11u-dev] RFR: 8317920: JDWP-agent sends broken exception event with onthrow option

Johannes Bechberger jbechberger at openjdk.org
Mon Oct 23 15:22:06 UTC 2023


Fixes the bug that is in the JDWP-agent since JDK 1.5.

The original patch did not apply cleanly because Virtual Threads and instanceof patterns are not present in JDK 11 and the Debuggee class changed slightly.

Tested on Mac M1 with the added test case, the code is platform-independent.

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

Commit messages:
 - 8317920: JDWP-agent sends broken exception event with onthrow option

Changes: https://git.openjdk.org/jdk11u-dev/pull/2206/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2206&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8317920
  Stats: 259 lines in 4 files changed: 239 ins; 4 del; 16 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/2206.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/2206/head:pull/2206

PR: https://git.openjdk.org/jdk11u-dev/pull/2206


More information about the jdk-updates-dev mailing list