latest jsr166 upgrade only compiled with 1.7

This commit is contained in:
Shay Banon 2013-07-11 22:48:49 +02:00
parent fe6fb7135b
commit 17936fabb0
3 changed files with 6 additions and 3 deletions

View File

@ -5,11 +5,12 @@
*/
package jsr166e;
import jsr166y.ThreadLocalRandom;
import java.util.concurrent.Future;
import java.util.concurrent.FutureTask;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.Executor;
import java.util.concurrent.ThreadLocalRandom;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeoutException;
import java.util.concurrent.CancellationException;

View File

@ -6,6 +6,8 @@
package jsr166e;
import jsr166y.ThreadLocalRandom;
import java.lang.Thread.UncaughtExceptionHandler;
import java.util.ArrayList;
import java.util.Arrays;
@ -18,7 +20,6 @@ import java.util.concurrent.ExecutorService;
import java.util.concurrent.Future;
import java.util.concurrent.RejectedExecutionException;
import java.util.concurrent.RunnableFuture;
import java.util.concurrent.ThreadLocalRandom;
import java.util.concurrent.TimeUnit;
/**

View File

@ -5,8 +5,9 @@
*/
package jsr166e;
import jsr166y.ThreadLocalRandom;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.ThreadLocalRandom;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.Condition;
import java.util.concurrent.locks.ReadWriteLock;