JDK 14 RFR of JDK-8227202: clarify Class.isEnum() doc

Brian Burkhalter brian.burkhalter at oracle.com
Wed Jul 3 22:47:05 UTC 2019


Hi Joe,

Sounds good.

Thanks,

Brian

> On Jul 3, 2019, at 3:46 PM, Joe Darcy <joe.darcy at oracle.com> wrote:
> 
> Thanks for catching that; I'll correct before pushing.
> 
> Cheers,
> 
> -Joe
> 
> On 7/3/2019 2:28 PM, Brian Burkhalter wrote:
>> Hi Joe,
>> 
>>> On Jul 3, 2019, at 2:24 PM, Joe Darcy <joe.darcy at oracle.com <mailto:joe.darcy at oracle.com>> wrote:
>>> 
>>> +     * Note that if an enum constant is declared with a class body,
>>> +     * the class of that enum constant is an anonymous class and
>>> +     * <em>not</em> the class of the declaring enum type. The {@link
>>> +     * Enum.getDeclaringClass} method can be used to get class of the
>> 
>> I think you intended “get the class” in the preceding line.



More information about the core-libs-dev mailing list