RFR: 8286844: com/sun/jdi/RedefineCrossEvent.java failed with 1 threads completed while VM suspended
Alex Menkov
amenkov at openjdk.org
Mon Jul 18 23:29:37 UTC 2022
The test verifies that JDI threads are daemon threads.
But enumerating threads at breakpoint it performs sanity check that all threads returned by ThreadGroup.enumerate hasn't terminated.
But this is wrong assumption, as the test enumerates _debugger_ threads and not _debuggee_ threads.
The fix drops this sanity check.
-------------
Commit messages:
- removed incorrect check from the test
Changes: https://git.openjdk.org/jdk/pull/9547/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9547&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8286844
Stats: 7 lines in 1 file changed: 0 ins; 6 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/9547.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/9547/head:pull/9547
PR: https://git.openjdk.org/jdk/pull/9547
More information about the serviceability-dev
mailing list