--- jsr166/src/test/tck/ReentrantLockTest.java 2017/05/14 02:03:15 1.65 +++ jsr166/src/test/tck/ReentrantLockTest.java 2017/07/17 21:01:30 1.66 @@ -20,6 +20,7 @@ import junit.framework.AssertionFailedEr import junit.framework.Test; import junit.framework.TestSuite; +@SuppressWarnings("WaitNotInLoop") // we implement spurious-wakeup freedom public class ReentrantLockTest extends JSR166TestCase { public static void main(String[] args) { main(suite(), args);