--- jsr166/src/test/tck/JSR166TestCase.java 2019/09/07 14:28:47 1.264 +++ jsr166/src/test/tck/JSR166TestCase.java 2019/09/07 15:03:44 1.265 @@ -284,7 +284,7 @@ public class JSR166TestCase extends Test static volatile TestCase currentTestCase; // static volatile int currentRun = 0; static { - Runnable checkForWedgedTest = new Runnable() { public void run() { + Runnable wedgedTestDetector = new Runnable() { public void run() { // Avoid spurious reports with enormous runsPerTest. // A single test case run should never take more than 1 second. // But let's cap it at the high end too ... @@ -310,7 +310,7 @@ public class JSR166TestCase extends Test } lastTestCase = currentTestCase; }}}; - Thread thread = new Thread(checkForWedgedTest, "checkForWedgedTest"); + Thread thread = new Thread(wedgedTestDetector, "WedgedTestDetector"); thread.setDaemon(true); thread.start(); } @@ -1106,13 +1106,13 @@ public class JSR166TestCase extends Test continue; if ("Reference Handler".equals(name) && (lockName = info.getLockName()) != null - && lockName.startsWith("java.lang.ref.Reference$Lock")) + && lockName.startsWith("java.lang.ref")) continue; if (("Finalizer".equals(name) || "Common-Cleaner".equals(name)) && (lockName = info.getLockName()) != null && lockName.startsWith("java.lang.ref")) continue; - if ("checkForWedgedTest".equals(name)) + if ("WedgedTestDetector".equals(name)) continue; System.err.print(info); }