# | Line 94 | Line 94 | public class AbstractQueuedLongSynchroni | |
---|---|---|
94 | } | |
95 | ||
96 | public boolean tryReleaseShared(long ignore) { | |
97 | < | setState(1 << 62); |
97 | > | setState(1L << 62); |
98 | return true; | |
99 | } | |
100 | } | |
# | Line 1197 | Line 1197 | public class AbstractQueuedLongSynchroni | |
1197 | public void testTryAcquireSharedNanos_Timeout() { | |
1198 | final BooleanLatch l = new BooleanLatch(); | |
1199 | final BooleanLatch observedQueued = new BooleanLatch(); | |
1200 | – | final long timeoutMillis = timeoutMillis(); |
1200 | Thread t = newStartedThread(new CheckedRunnable() { | |
1201 | public void realRun() throws InterruptedException { | |
1202 | assertFalse(l.isSignalled()); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |