Re: EnumSet and reification

2013-10-05 Thread Remi Forax
On 10/05/2013 04:30 AM, cowwoc wrote: Hi, Out of curiosity, is JDK 8's type reification improved enough so that we can replace > EnumSet EnumSet.noneOf(Class) with > EnumSet EnumSet.noneOf() and the JDK will figure out the value of E based on the expected return type? If so, c

EnumSet and reification

2013-10-04 Thread cowwoc
Hi, Out of curiosity, is JDK 8's type reification improved enough so that we can replace > EnumSet EnumSet.noneOf(Class) with > EnumSet EnumSet.noneOf() and the JDK will figure out the value of E based on the expected return type? If so, can we make this API change? Thanks, G