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.222 by jsr166, Mon Dec 16 21:18:49 2019 UTC vs.
Revision 1.223 by jsr166, Mon Dec 16 22:36:39 2019 UTC

# Line 3752 | Line 3752 | public class CompletableFutureTest exten
3752      }
3753  
3754      /**
3755     * failedFuture(null) throws NPE
3756     */
3757    public void testFailedFuture_null() {
3758        try {
3759            CompletableFuture<Integer> f = CompletableFuture.failedFuture(null);
3760            shouldThrow();
3761        } catch (NullPointerException success) {}
3762    }
3763
3764    /**
3755       * copy returns a CompletableFuture that is completed normally,
3756       * with the same value, when source is.
3757       */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines