latest jsr166 upgrade only compiled with 1.7
This commit is contained in:
parent
fe6fb7135b
commit
17936fabb0
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
/**
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue