changeset 28386 | 06892f6d6d72 |
parent 27917 | c5937f7b4e8b |
--- a/hotspot/test/testlibrary/com/oracle/java/testlibrary/InfiniteLoop.java Fri Dec 19 14:12:22 2014 +0300 +++ b/hotspot/test/testlibrary/com/oracle/java/testlibrary/InfiniteLoop.java Tue Dec 23 16:36:44 2014 +0300 @@ -54,7 +54,9 @@ try { while (true) { target.run(); - Thread.sleep(mills); + if (mills > 0) { + Thread.sleep(mills); + } } } catch (InterruptedException e) { Thread.currentThread().interrupt();