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

Print this page

        

@@ -32,10 +32,12 @@
  */
 
 /*
  * @test
  * @bug 4486658 5031862
+ * @compile -source 1.5 TimeoutLockLoops.java
+ * @run main TimeoutLockLoops
  * @summary Checks for responsiveness of locks to timeouts.
  * Runs under the assumption that ITERS computations require more than
  * TIMEOUT msecs to complete, which seems to be a safe assumption for
  * another decade.
  */