JDK 9 RFR of JDK-8049820: Fix raw and unchecked lint warnings in sun.management

Mandy Chung mandy.chung at oracle.com
Thu Jul 10 01:26:18 UTC 2014


On 7/9/2014 6:10 PM, Joe Darcy wrote:
> Hello,
>
> Another batch of lint warnings removal; this time for
>
>     8049820: Fix raw and unchecked lint warnings in sun.management
>     http://cr.openjdk.java.net/~darcy/8049820.0/

  230         @SuppressWarnings("rawtypes")
  231         final Class enumClass;

Why can't the enumClass field be declared of Class<?> type?

Other than that, looks fine.
Mandy



More information about the serviceability-dev mailing list