[concurrency-interest] RFR: jsr166 jdk9 integration wave 4

Paul Sandoz paul.sandoz at oracle.com
Mon Feb 8 05:09:46 EST 2016


> On 1 Feb 2016, at 19:45, Martin Buchholz <martinrb at google.com> wrote:
> 
> After much debate on what to do when CompleteableFuture.whenComplete
> encounters an exception in both the source and the action, we chose
> what was acceptable to the most people - add the action's exception to
> the source exception as a suppressed exception.  And added usage
> guidelines.  And gave handle "top billing" over whenComplete.
> 
> http://cr.openjdk.java.net/~martin/webrevs/openjdk9/jsr166-jdk9-integration/
> 
> and the usual miscellaneous improvements.


+1

Looks like the diffs got swapped for EmptyNavigableSet.java in the misc patch:

http://cr.openjdk.java.net/~martin/webrevs/openjdk9/jsr166-jdk9-integration/patches/jsr166-jdk9-integration-miscellaneous

diff --git a/test/java/util/Collections/EmptyNavigableSet.java b/test/java/util/Collections/EmptyNavigableSet.java
--- a/test/java/util/Collections/EmptyNavigableSet.java
+++ b/test/java/util/Collections/EmptyNavigableSet.java
@@ -284,7 +284,7 @@
                     navigableSet.subSet(last, true, first, false);
                 },
                 IllegalArgumentException.class, description
-                + ": Must throw IllegalArgumentException when fromElement is not less than toElement.");
+                + ": Must throw IllegalArgumentException when fromElement is not less then then toElement.”);

Paul.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20160208/1f6343de/attachment-0001.bin>


More information about the Concurrency-interest mailing list