test/hotspot/jtreg/vmTestbase/nsk/stress/thread/thread005.java
changeset 59021 cfc7bb9a5a92
parent 50169 dd501973095c
--- a/test/hotspot/jtreg/vmTestbase/nsk/stress/thread/thread005.java	Mon Nov 11 17:43:10 2019 -0800
+++ b/test/hotspot/jtreg/vmTestbase/nsk/stress/thread/thread005.java	Tue Nov 12 06:32:13 2019 +0000
@@ -160,7 +160,7 @@
      */
     public void run() {
         while (!GO && !timeout())
-            yield();
+            Thread.yield();
         while (!STOP && !timeout())
             ;
     }