1456 |
|
} catch (InterruptedException fail) { |
1457 |
|
threadUnexpectedException(fail); |
1458 |
|
} |
1459 |
< |
Thread.State state; |
1460 |
< |
if ((state = t.getState()) != Thread.State.TERMINATED) { |
1461 |
< |
t.interrupt(); |
1462 |
< |
threadFail("timed out waiting for thread to terminate; " |
1463 |
< |
+ "state=" + state); |
1459 |
> |
Thread.State state; |
1460 |
> |
if ((state = t.getState()) != Thread.State.TERMINATED) { |
1461 |
> |
t.interrupt(); |
1462 |
> |
threadFail("timed out waiting for thread to terminate; " |
1463 |
> |
+ "state=" + state); |
1464 |
|
} |
1465 |
|
} |
1466 |
|
|