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

Johannes Bechberger jbechberger at openjdk.org
Mon Oct 23 14:26:58 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 are not present in JDK 17 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/jdk17u-dev/pull/1902/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=1902&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8317920
  Stats: 259 lines in 4 files changed: 238 ins; 4 del; 17 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/1902.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/1902/head:pull/1902

PR: https://git.openjdk.org/jdk17u-dev/pull/1902


More information about the jdk-updates-dev mailing list