--- old/test/hotspot/jtreg/vmTestbase/nsk/stress/thread/thread005.java 2019-11-04 17:33:19.113273303 +0100 +++ new/test/hotspot/jtreg/vmTestbase/nsk/stress/thread/thread005.java 2019-11-04 17:33:18.945271487 +0100 @@ -160,7 +160,7 @@ */ public void run() { while (!GO && !timeout()) - yield(); + Thread.yield(); while (!STOP && !timeout()) ; }