8 |
|
|
9 |
|
/* |
10 |
|
* @test |
11 |
< |
* @summary JSR-166 tck tests |
11 |
> |
* @summary JSR-166 tck tests (conformance testing mode) |
12 |
> |
* @build * |
13 |
> |
* @modules java.management |
14 |
> |
* @run junit/othervm/timeout=1000 JSR166TestCase |
15 |
> |
*/ |
16 |
> |
|
17 |
> |
/* |
18 |
> |
* @test |
19 |
> |
* @summary JSR-166 tck tests (whitebox tests allowed) |
20 |
> |
* @build * |
21 |
|
* @modules java.base/java.util.concurrent:open |
22 |
|
* java.management |
14 |
– |
* @build * |
23 |
|
* @run junit/othervm/timeout=1000 -Djsr166.testImplementationDetails=true JSR166TestCase |
24 |
< |
* @run junit/othervm/timeout=1000 -Djava.util.concurrent.ForkJoinPool.common.parallelism=0 -Djsr166.testImplementationDetails=true JSR166TestCase |
17 |
< |
* @run junit/othervm/timeout=1000 -Djava.util.concurrent.ForkJoinPool.common.parallelism=1 -Djava.util.secureRandomSeed=true JSR166TestCase |
24 |
> |
* @run junit/othervm/timeout=1000 -Djsr166.testImplementationDetails=true -Djava.util.concurrent.ForkJoinPool.common.parallelism=0 JSR166TestCase |
25 |
|
*/ |
26 |
|
|
27 |
|
import static java.util.concurrent.TimeUnit.MILLISECONDS; |