[concurrency-interest] RFR: CopyOnWriteArrayNavigableSet for Java 9

Jason Mehrens jason_mehrens at hotmail.com
Thu Dec 31 10:13:13 EST 2015


Mike,

It appears that this code recreates bug https://bugs.openjdk.java.net/browse/JDK-5045147. When the collection is empty you have to perform a reflexive compare on the given element to screen null and other types that are rejected by the comparator.

Jason

________________________________________
From: concurrency-interest-bounces at cs.oswego.edu <concurrency-interest-bounces at cs.oswego.edu> on behalf of Mike Duigou <openjdk at duigou.org>
Sent: Wednesday, December 30, 2015 4:53 PM
To: Concurrency Interest
Subject: [concurrency-interest] RFR: CopyOnWriteArrayNavigableSet for Java 9

Hello All;

Enclosed is a new draft of the CopyOnWriteArrayNavigableSet
implementation I have been working on for Java 9. This version
incorporates review feedback from November and should be very nearly
complete and ready for submission. It is not to late to provide feedback
though, so if you have any comments or suggestions feel free to send
them to this list.

I am planning to post a standalone version of this class on github and
probably will publish it as a maven package for use with Java 7 and Java
8. This version will have he same class name and API but will be in a
different package.

Cheers,

Mike



More information about the Concurrency-interest mailing list