212 |
|
|
213 |
|
/** |
214 |
|
* Runs all unit tests in the given test suite. |
215 |
< |
* Actual behavior influenced by system properties jsr166.* |
215 |
> |
* Actual behavior influenced by jsr166.* system properties. |
216 |
|
*/ |
217 |
|
static void main(Test suite, String[] args) { |
218 |
|
if (useSecurityManager) { |
486 |
|
// give thread some time to terminate |
487 |
|
thread.join(LONG_DELAY_MS); |
488 |
|
if (!thread.isAlive()) continue; |
489 |
– |
thread.stop(); |
489 |
|
throw new AssertionFailedError |
490 |
|
(String.format("Found leaked ForkJoinPool thread test=%s thread=%s%n", |
491 |
|
toString(), name)); |