<Swing Dev> RFR: 8044862: Fix raw and unchecked lint warnings in macosx specific code
Petr Pchelko
petr.pchelko at oracle.com
Wed Jul 9 08:07:45 UTC 2014
Hello, Henry.
AquaComboBoxRendererInternal : why <? extends Object> and not just <?>?
AquaComboBoxUI:427, 510, 530 - you can replace JComboBox<Object> with JComboBox<?> and avoid a @SupressWarning annotation.
AquaFileChooserUI.createDirectoryComboBoxRenderer actually returns a ListCellRenderer<File>,
DirectoryComboBoxModel is a <File> model, and a combobox contains only Files. I suggest to try
to genereficate this correctly and look where it brings us.
Also I didn't look at the KeychainStore.java as I know nothing about this code.
With best regards. Petr.
On 09 июля 2014 г., at 7:30, Henry Jen <henry.jen at oracle.com> wrote:
> Hi,
>
> Would someone from swing team care to take a look at this?
>
> The change of src/macosx/classes/sun/font/CFontConfiguration.java will be dropped as it had been fixed in JDK-8048980.
>
> Cheers,
> Henry
>
>
> On 06/27/2014 03:00 PM, Joe Darcy wrote:
>> Hi Henry,
>>
>> Your changes look good to me (I assume there was an issue using
>> wildcards in AquaComboBoxButton.java).
>>
>> Thanks,
>>
>> -Joe
>>
>> On 06/27/2014 02:45 PM, Henry Jen wrote:
>>> Hi,
>>>
>>> Please review a webrev for fixing rawtypes and unchecked lint warning
>>> for macosx specific java code, this webrev is depending on
>>> JDK-8043548[1] where some of the override methods are defined,
>>>
>>> Also as the src/macosx/classes/apple/launcher/JavaAppLauncher.java to
>>> be removed from JDK-8048337, the webrev omits that file.
>>>
>>> The webrev can be found at,
>>> http://cr.openjdk.java.net/~henryjen/jdk9/8044862/0/webrev/
>>>
>>>
>>> [1] https://bugs.openjdk.java.net/browse/JDK-8043548
>>>
>>> Cheers,
>>> Henry
>>
More information about the swing-dev
mailing list