Any chance to see EnumSet implement SortedSet in JDK8?
Mike Duigou
mike.duigou at oracle.com
Fri Aug 12 00:28:34 UTC 2011
There's an existing RFE for this request: CR#6278287
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6278287
Wherein Kevin Bourrillion provides some excellent analysis.
The RFE hasn't been targeted to Java 8 and I'm unaware of any plan to escalate the priority. It would be a very good issue for an enthusiastic community hacker to really get involved in OpenJDK development. I can't imagine that if an implementation and test suite arrived that it wouldn't be gratefully accepted.
To be very frank, while Oracle has increased and is still increasing staffing levels on Java (I'm one of the "increase"), there are more than 200 outstanding RFEs for Java Collections. For prioritization and quality reasons only a fraction of these will get addressed in JDK8. There will always be more RFEs than can be completed in any release. Running out of RFEs would be a very bad sign. ;-)
Community contributions are essential to Java just as they are for Linux. “Do you pine for the nice days of Minix-1.1, when men were men and wrote their own device drivers?” -- Linus Torvalds. Good news, writing JDK classes isn't (usually) as hard as writing device drivers!
Cheers,
Mike
On Aug 11 2011, at 13:19 , assembling signals wrote:
> Hello, community!
>
> Enum does implement Comparable, while EnumSet does NOT implement SortedSet and EnumMap doesn NOT implement SortedMap.
> Should I file a bug report (RFE), would there be a chance to see this being implemented in JDK8?
>
> Best regards,
> Ivan G Shevchenko
More information about the core-libs-dev
mailing list