36 |
|
// max sampled long bound |
37 |
|
static final long MAX_LONG_BOUND = (1L << 42); |
38 |
|
|
39 |
+ |
// Number of replications for other checks |
40 |
+ |
static final int REPS = 20; |
41 |
+ |
|
42 |
|
/** |
43 |
|
* setSeed throws UnsupportedOperationException |
44 |
|
*/ |
270 |
|
long firstRand = 0; |
271 |
|
ThreadLocalRandom firstThreadLocalRandom = null; |
272 |
|
|
273 |
< |
final CheckedRunnable getRandomState = new CheckedRunnable() { |
273 |
> |
Runnable getRandomState = new CheckedRunnable() { |
274 |
|
public void realRun() { |
275 |
|
ThreadLocalRandom current = ThreadLocalRandom.current(); |
276 |
|
assertSame(current, ThreadLocalRandom.current()); |