JDK RFR to clean-up lint warnings in reflection implementation
joe.darcy at oracle.com
Fri Nov 8 20:24:10 UTC 2013
On 11/08/2013 12:06 PM, Alan Bateman wrote:
> On 08/11/2013 19:40, Joe Darcy wrote:
>> Please review the simple patch below which addresses a handful of raw
>> types lint warning in the core reflection implementation code.
>> (If memory serves, this code dates back from a time during the
>> development of JDK 5 when wildcards could not be used with arrays;
>> before the release shipped, that combination was allowed.)
> This looks okay to me (and I think we have the same thing in a few
> other areas).
Yes; over 1/3 of the remaining lint warnings in core-libs are for the
use of raw types. There are many uses of "Class" or "Class" instead of
"Class<?>" or "Class<?>".
More information about the core-libs-dev