ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/JSR166TestCase.java
(Generate patch)

Comparing jsr166/src/test/tck/JSR166TestCase.java (file contents):
Revision 1.258 by jsr166, Tue Aug 20 23:06:11 2019 UTC vs.
Revision 1.259 by jsr166, Thu Aug 22 22:27:57 2019 UTC

# Line 1456 | Line 1456 | public class JSR166TestCase extends Test
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  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines