Expose elementType of EnumSet and EnumMap

Andreas Rieber rieberandreas at gmail.com
Sat Sep 21 16:06:04 UTC 2013

Hi Marcin,

your issue is here: https://bugs.openjdk.java.net/browse/JDK-8024037

try the new JDK bug system ;-)


On 21.09.2013 17:27, Marcin Wiśnicki wrote:
> Third party serialization libraries and other tools need to know the
> type of EnumSet elementType. Currently this field is package-private
> and said libraries have to resort to non-portable reflection hacks.
> Please add EnumSet#getElementType() and EnumMap#getKeyType() methods.
> I've submitted this request to bugs.sun.com last month, where it
> received Bug Id: 9006352. There was no further communication and that
> bug is still not visible which doesn't surprise me as I've never had
> any luck with bugs.sun.com even when submitting actual bug :(
> PS. Please keep me CC'ed.

More information about the core-libs-dev mailing list