8032057: Remove unneeded/obsolete -source options in concurrency tests
authorchegar
Fri, 17 Jan 2014 13:54:13 +0000
changeset 22293 9a913cb32aae
parent 22292 9224952a7bbe
child 22294 1e3a7c70240c
8032057: Remove unneeded/obsolete -source options in concurrency tests Reviewed-by: chegar Contributed-by: Martin Buchholz <martinrb@google.com>
jdk/test/java/util/concurrent/BlockingQueue/CancelledProducerConsumerLoops.java
jdk/test/java/util/concurrent/BlockingQueue/MultipleProducersSingleConsumerLoops.java
jdk/test/java/util/concurrent/BlockingQueue/ProducerConsumerLoops.java
jdk/test/java/util/concurrent/BlockingQueue/SingleProducerMultipleConsumerLoops.java
jdk/test/java/util/concurrent/ConcurrentHashMap/MapCheck.java
jdk/test/java/util/concurrent/ConcurrentHashMap/MapLoops.java
jdk/test/java/util/concurrent/Exchanger/ExchangeLoops.java
jdk/test/java/util/concurrent/ExecutorCompletionService/ExecutorCompletionServiceLoops.java
jdk/test/java/util/concurrent/FutureTask/CancelledFutureLoops.java
jdk/test/java/util/concurrent/atomic/VMSupportsCS8.java
jdk/test/java/util/concurrent/locks/ReentrantLock/CancelledLockLoops.java
jdk/test/java/util/concurrent/locks/ReentrantLock/LockOncePerThreadLoops.java
jdk/test/java/util/concurrent/locks/ReentrantLock/SimpleReentrantLockLoops.java
jdk/test/java/util/concurrent/locks/ReentrantLock/TimeoutLockLoops.java
jdk/test/java/util/concurrent/locks/ReentrantReadWriteLock/MapLoops.java
--- a/jdk/test/java/util/concurrent/BlockingQueue/CancelledProducerConsumerLoops.java	Thu Jan 16 16:41:34 2014 -0800
+++ b/jdk/test/java/util/concurrent/BlockingQueue/CancelledProducerConsumerLoops.java	Fri Jan 17 13:54:13 2014 +0000
@@ -34,7 +34,6 @@
 /*
  * @test
  * @bug 4486658
- * @compile -source 1.5 CancelledProducerConsumerLoops.java
  * @run main/timeout=7000 CancelledProducerConsumerLoops
  * @summary Checks for responsiveness of blocking queues to cancellation.
  * Runs under the assumption that ITERS computations require more than
--- a/jdk/test/java/util/concurrent/BlockingQueue/MultipleProducersSingleConsumerLoops.java	Thu Jan 16 16:41:34 2014 -0800
+++ b/jdk/test/java/util/concurrent/BlockingQueue/MultipleProducersSingleConsumerLoops.java	Fri Jan 17 13:54:13 2014 +0000
@@ -34,7 +34,6 @@
 /*
  * @test
  * @bug 4486658
- * @compile -source 1.5 MultipleProducersSingleConsumerLoops.java
  * @run main/timeout=3600 MultipleProducersSingleConsumerLoops
  * @summary  multiple producers and single consumer using blocking queues
  */
--- a/jdk/test/java/util/concurrent/BlockingQueue/ProducerConsumerLoops.java	Thu Jan 16 16:41:34 2014 -0800
+++ b/jdk/test/java/util/concurrent/BlockingQueue/ProducerConsumerLoops.java	Fri Jan 17 13:54:13 2014 +0000
@@ -34,7 +34,6 @@
 /*
  * @test
  * @bug 4486658
- * @compile -source 1.5 ProducerConsumerLoops.java
  * @run main/timeout=3600 ProducerConsumerLoops
  * @summary  multiple producers and consumers using blocking queues
  */
--- a/jdk/test/java/util/concurrent/BlockingQueue/SingleProducerMultipleConsumerLoops.java	Thu Jan 16 16:41:34 2014 -0800
+++ b/jdk/test/java/util/concurrent/BlockingQueue/SingleProducerMultipleConsumerLoops.java	Fri Jan 17 13:54:13 2014 +0000
@@ -34,7 +34,6 @@
 /*
  * @test
  * @bug 4486658
- * @compile -source 1.5 SingleProducerMultipleConsumerLoops.java
  * @run main/timeout=600 SingleProducerMultipleConsumerLoops
  * @summary  check ordering for blocking queues with 1 producer and multiple consumers
  */
--- a/jdk/test/java/util/concurrent/ConcurrentHashMap/MapCheck.java	Thu Jan 16 16:41:34 2014 -0800
+++ b/jdk/test/java/util/concurrent/ConcurrentHashMap/MapCheck.java	Fri Jan 17 13:54:13 2014 +0000
@@ -34,7 +34,6 @@
 /*
  * @test
  * @bug 4486658
- * @compile -source 1.5 MapCheck.java
  * @run main/timeout=240 MapCheck
  * @summary Times and checks basic map operations
  */
--- a/jdk/test/java/util/concurrent/ConcurrentHashMap/MapLoops.java	Thu Jan 16 16:41:34 2014 -0800
+++ b/jdk/test/java/util/concurrent/ConcurrentHashMap/MapLoops.java	Fri Jan 17 13:54:13 2014 +0000
@@ -34,7 +34,6 @@
 /*
  * @test
  * @bug 4486658
- * @compile -source 1.5 MapLoops.java
  * @run main/timeout=1600 MapLoops
  * @summary Exercise multithreaded maps, by default ConcurrentHashMap.
  * Multithreaded hash table test.  Each thread does a random walk
--- a/jdk/test/java/util/concurrent/Exchanger/ExchangeLoops.java	Thu Jan 16 16:41:34 2014 -0800
+++ b/jdk/test/java/util/concurrent/Exchanger/ExchangeLoops.java	Fri Jan 17 13:54:13 2014 +0000
@@ -34,7 +34,6 @@
 /*
  * @test
  * @bug 4486658
- * @compile -source 1.5 ExchangeLoops.java
  * @run main/timeout=720 ExchangeLoops
  * @summary checks to make sure a pipeline of exchangers passes data.
  */
--- a/jdk/test/java/util/concurrent/ExecutorCompletionService/ExecutorCompletionServiceLoops.java	Thu Jan 16 16:41:34 2014 -0800
+++ b/jdk/test/java/util/concurrent/ExecutorCompletionService/ExecutorCompletionServiceLoops.java	Fri Jan 17 13:54:13 2014 +0000
@@ -34,7 +34,6 @@
 /*
  * @test
  * @bug 4965960
- * @compile -source 1.5 ExecutorCompletionServiceLoops.java
  * @run main/timeout=3600 ExecutorCompletionServiceLoops
  * @summary  Exercise ExecutorCompletionServiceLoops
  */
--- a/jdk/test/java/util/concurrent/FutureTask/CancelledFutureLoops.java	Thu Jan 16 16:41:34 2014 -0800
+++ b/jdk/test/java/util/concurrent/FutureTask/CancelledFutureLoops.java	Fri Jan 17 13:54:13 2014 +0000
@@ -34,7 +34,6 @@
 /*
  * @test
  * @bug 4486658
- * @compile -source 1.5 CancelledFutureLoops.java
  * @run main/timeout=2000 CancelledFutureLoops
  * @summary Checks for responsiveness of futures to cancellation.
  * Runs under the assumption that ITERS computations require more than
--- a/jdk/test/java/util/concurrent/atomic/VMSupportsCS8.java	Thu Jan 16 16:41:34 2014 -0800
+++ b/jdk/test/java/util/concurrent/atomic/VMSupportsCS8.java	Fri Jan 17 13:54:13 2014 +0000
@@ -24,7 +24,6 @@
 /*
  * @test
  * @bug 4992443 4994819
- * @compile -source 1.5 VMSupportsCS8.java
  * @run main VMSupportsCS8
  * @summary Checks that the value of VMSupportsCS8 matches system properties.
  */
--- a/jdk/test/java/util/concurrent/locks/ReentrantLock/CancelledLockLoops.java	Thu Jan 16 16:41:34 2014 -0800
+++ b/jdk/test/java/util/concurrent/locks/ReentrantLock/CancelledLockLoops.java	Fri Jan 17 13:54:13 2014 +0000
@@ -34,7 +34,6 @@
 /*
  * @test
  * @bug 4486658
- * @compile -source 1.5 CancelledLockLoops.java
  * @run main/timeout=2800 CancelledLockLoops
  * @summary tests lockInterruptibly.
  * Checks for responsiveness of locks to interrupts. Runs under that
--- a/jdk/test/java/util/concurrent/locks/ReentrantLock/LockOncePerThreadLoops.java	Thu Jan 16 16:41:34 2014 -0800
+++ b/jdk/test/java/util/concurrent/locks/ReentrantLock/LockOncePerThreadLoops.java	Fri Jan 17 13:54:13 2014 +0000
@@ -34,7 +34,6 @@
 /*
  * @test
  * @bug 4486658
- * @compile -source 1.5 LockOncePerThreadLoops.java
  * @run main/timeout=15000 LockOncePerThreadLoops
  * @summary Checks for missed signals by locking and unlocking each of an array of locks once per thread
  */
--- a/jdk/test/java/util/concurrent/locks/ReentrantLock/SimpleReentrantLockLoops.java	Thu Jan 16 16:41:34 2014 -0800
+++ b/jdk/test/java/util/concurrent/locks/ReentrantLock/SimpleReentrantLockLoops.java	Fri Jan 17 13:54:13 2014 +0000
@@ -34,7 +34,6 @@
 /*
  * @test
  * @bug 4486658
- * @compile -source 1.5 SimpleReentrantLockLoops.java
  * @run main/timeout=4500 SimpleReentrantLockLoops
  * @summary multiple threads using a single lock
  */
--- a/jdk/test/java/util/concurrent/locks/ReentrantLock/TimeoutLockLoops.java	Thu Jan 16 16:41:34 2014 -0800
+++ b/jdk/test/java/util/concurrent/locks/ReentrantLock/TimeoutLockLoops.java	Fri Jan 17 13:54:13 2014 +0000
@@ -34,7 +34,6 @@
 /*
  * @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
--- a/jdk/test/java/util/concurrent/locks/ReentrantReadWriteLock/MapLoops.java	Thu Jan 16 16:41:34 2014 -0800
+++ b/jdk/test/java/util/concurrent/locks/ReentrantReadWriteLock/MapLoops.java	Fri Jan 17 13:54:13 2014 +0000
@@ -34,7 +34,6 @@
 /*
  * @test
  * @bug 4486658
- * @compile -source 1.5 MapLoops.java
  * @run main/timeout=4700 MapLoops
  * @summary Exercise multithreaded maps, by default ConcurrentHashMap.
  * Multithreaded hash table test.  Each thread does a random walk