Hi,

Out of curiosity, is JDK 8's type reification improved enough so that we can replace

<E extends Enum<E>> EnumSet<E> EnumSet.noneOf(Class<E>)

    with

<E extends Enum<E>> EnumSet<E> 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,
Gili

Reply via email to