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

Comparing jsr166/src/test/tck/CompletableFutureTest.java (file contents):
Revision 1.138 by jsr166, Sun Nov 15 23:31:51 2015 UTC vs.
Revision 1.139 by jsr166, Sat Jan 23 20:02:48 2016 UTC

# Line 1040 | Line 1040 | public class CompletableFutureTest exten
1040  
1041          checkCompletedWithWrappedException(g, ex1);
1042          checkCompletedExceptionally(f, ex1);
1043 <        assertEquals(1, ex1.getSuppressed().length);
1044 <        assertSame(ex2, ex1.getSuppressed()[0]);
1043 >        if (testImplementationDetails) {
1044 >            assertEquals(1, ex1.getSuppressed().length);
1045 >            assertSame(ex2, ex1.getSuppressed()[0]);
1046 >        }
1047          assertEquals(1, a.get());
1048      }}
1049  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines