# | 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(); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |