109 |
|
try { |
110 |
|
assertNull(a.get()); |
111 |
|
assertNull(a.get(randomTimeout(), randomTimeUnit())); |
112 |
< |
} catch (Exception fail) { threadUnexpectedException(fail); } |
112 |
> |
} catch (Throwable fail) { threadUnexpectedException(fail); } |
113 |
|
} |
114 |
|
|
115 |
|
void checkCancelled(ForkJoinTask a) { |
1530 |
|
* timeout elapsed |
1531 |
|
*/ |
1532 |
|
public void testAwaitQuiescence2() throws Exception { |
1533 |
< |
/** |
1533 |
> |
/* |
1534 |
|
* """It is possible to disable or limit the use of threads in the |
1535 |
|
* common pool by setting the parallelism property to zero. However |
1536 |
|
* doing so may cause unjoined tasks to never be executed.""" |