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

Comparing jsr166/src/test/tck/AbstractQueuedSynchronizerTest.java (file contents):
Revision 1.60 by jsr166, Mon Nov 27 23:06:53 2017 UTC vs.
Revision 1.61 by jsr166, Tue Nov 28 18:06:55 2017 UTC

# Line 1266 | Line 1266 | public class AbstractQueuedSynchronizerT
1266       * JDK-8191483: AbstractQueuedSynchronizer cancel/cancel race
1267       * ant -Djsr166.tckTestClass=AbstractQueuedSynchronizerTest -Djsr166.methodFilter=testCancelCancelRace -Djsr166.runsPerTest=100 tck
1268       */
1269 <    public void XXXXtestCancelCancelRace() throws InterruptedException {
1269 >    public void DISABLED_testCancelCancelRace() throws InterruptedException {
1270          class Sync extends AbstractQueuedSynchronizer {
1271              protected boolean tryAcquire(int acquires) {
1272                  return !hasQueuedPredecessors() && compareAndSetState(0, 1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines