A trivial fix that deletes an errant `debugee.resume()` call that causes a race between the debugger and debuggee. I've also corrected incorrect line number values mentioned in comments.
This fix has been tested with the updated failing test both with and without the debug code that makes the failure easy to reproduce. The real test will be seeing if the failure stops reproducing in my stress testing runs on my M1 MacMini in my lab. ------------- Commit messages: - 8231491.cr0.patch Changes: https://git.openjdk.java.net/jdk/pull/9020/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=9020&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8231491 Stats: 5 lines in 2 files changed: 0 ins; 1 del; 4 mod Patch: https://git.openjdk.java.net/jdk/pull/9020.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/9020/head:pull/9020 PR: https://git.openjdk.java.net/jdk/pull/9020