test/java/util/concurrent/locks/ReentrantLock/CancelledLockLoops.java

Print this page

        

@@ -32,11 +32,11 @@
  */
 
 /*
  * @test
  * @bug 4486658
- * @compile -source 1.5 CancelledLockLoops.java
+ * @compile CancelledLockLoops.java
  * @run main/timeout=2800 CancelledLockLoops
  * @summary tests lockInterruptibly.
  * Checks for responsiveness of locks to interrupts. Runs under that
  * assumption that ITERS_VALUE computations require more than TIMEOUT
  * msecs to complete.