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

Comparing jsr166/src/test/tck/LockSupportTest.java (file contents):
Revision 1.27 by jsr166, Fri May 12 18:12:52 2017 UTC vs.
Revision 1.28 by jsr166, Fri May 12 18:23:11 2017 UTC

# Line 189 | Line 189 | public class LockSupportTest extends JSR
189                  do {
190                      parkMethod.park();
191                      // park may return spuriously
192 <                } while (! Thread.currentThread().isInterrupted());
192 >                } while (! Thread.interrupted());
193              }});
194  
195          await(pleaseInterrupt);
# Line 302 | Line 302 | public class LockSupportTest extends JSR
302                      parkMethod.park();
303                      assertNull(LockSupport.getBlocker(t));
304                      // park may return spuriously
305 <                } while (! Thread.currentThread().isInterrupted());
305 >                } while (! Thread.interrupted());
306              }});
307  
308          long startTime = System.nanoTime();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines