<Swing Dev> JDK 9 RFR of JDK-8042849: Fix raw and unchecked warnings in com.sun.java.swing

Joe Darcy joe.darcy at oracle.com
Sat Jun 21 18:26:13 UTC 2014


Hi Alexandr,

I'll double check diamond works in that position and use it when I push 
the fix.

Thanks,

-Joe

On 06/19/2014 07:26 AM, Alexander Scherbatiy wrote:
>
> The fix looks good for me.
>
> Just small comment:
> src/share/classes/com/sun/java/swing/plaf/gtk/GTKFileChooserUI.java
> -        directoryComboBox = new JComboBox(directoryComboBoxModel);
> +        directoryComboBox = new JComboBox<File>(directoryComboBoxModel);
> The diamond operator also can be used here.
>
>
> Thanks,
> Alexandr.
>
> On 6/16/2014 6:12 AM, Joe Darcy wrote:
>> Hello,
>>
>> As a follow-up to the other recent lint warning fixes in swing, 
>> please review the next chunk of cleanup:
>>
>>     JDK-8042849: Fix raw and unchecked warnings in com.sun.java.swing
>>     http://cr.openjdk.java.net/~darcy/8042849.0/
>>
>> Thanks,
>>
>> -Joe
>




More information about the swing-dev mailing list