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.239 by jsr166, Tue Jan 23 20:44:11 2018 UTC vs.
Revision 1.240 by jsr166, Tue Jan 23 22:56:37 2018 UTC

# Line 1089 | Line 1089 | public class JSR166TestCase extends Test
1089          for (long retries = LONG_DELAY_MS * 3 / 4; retries-->0; ) {
1090              try { delay(1); }
1091              catch (InterruptedException fail) {
1092 <                fail("Unexpected InterruptedException");
1092 >                throw new AssertionError("Unexpected InterruptedException", fail);
1093              }
1094              Thread.State s = thread.getState();
1095              if (s == expected)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines