changeset 59021 | cfc7bb9a5a92 |
parent 47216 | 71c04702a3d5 |
--- a/test/jdk/com/sun/jdi/InvokeHangTest.java Mon Nov 11 17:43:10 2019 -0800 +++ b/test/jdk/com/sun/jdi/InvokeHangTest.java Tue Nov 12 06:32:13 2019 +0000 @@ -64,7 +64,7 @@ // This is called from the debugger via invokeMethod public double invokeee() { System.out.println("Debuggee: invokeee in thread "+Thread.currentThread().toString()); - yield(); + Thread.yield(); return longMethod(2); } public double longMethod(int n) {