JDK-8044862 : Fix raw and unchecked lint warnings in macosx specific code
Type:Sub-task
Component:client-libs
Sub-Component:java.awt
Affected Version:9
Priority:P4
Status:Resolved
Resolution:Fixed
Submitted:2014-06-04
Updated:2014-08-29
Resolved:2014-07-10
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
The macosx-specific Java sources have raw and unchecked warnings; these should be fixed.
Comments
A fix for the blocking issue JDK-8043548 has been pushed.
03-07-2014
Some modification is override methods in javax.swing.plaf classes
27-06-2014
The warnings as of time of filing:
src/macosx/classes/apple/launcher/JavaAppLauncher.java:102: warning: [rawtypes] found raw type: Class
src/macosx/classes/apple/security/KeychainStore.java:374: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Hashtable
src/macosx/classes/apple/security/KeychainStore.java:377: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Hashtable
src/macosx/classes/apple/security/KeychainStore.java:378: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Hashtable
src/macosx/classes/apple/security/KeychainStore.java:438: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Hashtable
src/macosx/classes/apple/security/KeychainStore.java:440: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Hashtable
src/macosx/classes/apple/security/KeychainStore.java:441: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Hashtable
src/macosx/classes/apple/security/KeychainStore.java:474: warning: [rawtypes] found raw type: Collection
src/macosx/classes/apple/security/KeychainStore.java:490: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Hashtable
src/macosx/classes/apple/security/KeychainStore.java:492: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Hashtable
src/macosx/classes/apple/security/KeychainStore.java:493: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Hashtable
src/macosx/classes/apple/security/KeychainStore.java:511: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Hashtable
src/macosx/classes/apple/security/KeychainStore.java:520: warning: [rawtypes] found raw type: Enumeration
src/macosx/classes/apple/security/KeychainStore.java:520: warning: [unchecked] engineAliases() in KeychainStore overrides engineAliases() in KeyStoreSpi
src/macosx/classes/apple/security/KeychainStore.java:601: warning: [rawtypes] found raw type: Enumeration
src/macosx/classes/apple/security/KeychainStore.java:637: warning: [rawtypes] found raw type: Enumeration
src/macosx/classes/apple/security/KeychainStore.java:667: warning: [rawtypes] found raw type: Enumeration
src/macosx/classes/apple/security/KeychainStore.java:733: warning: [rawtypes] found raw type: Enumeration
src/macosx/classes/apple/security/KeychainStore.java:77: warning: [rawtypes] found raw type: Hashtable
src/macosx/classes/apple/security/KeychainStore.java:77: warning: [rawtypes] found raw type: Hashtable
src/macosx/classes/apple/security/KeychainStore.java:792: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Hashtable
src/macosx/classes/apple/security/KeychainStore.java:819: warning: [rawtypes] found raw type: ArrayList
src/macosx/classes/apple/security/KeychainStore.java:819: warning: [rawtypes] found raw type: List
src/macosx/classes/apple/security/KeychainStore.java:831: warning: [unchecked] unchecked call to add(E) as a member of the raw type List
src/macosx/classes/apple/security/KeychainStore.java:83: warning: [rawtypes] found raw type: Hashtable
src/macosx/classes/apple/security/KeychainStore.java:83: warning: [rawtypes] found raw type: Hashtable
src/macosx/classes/apple/security/KeychainStore.java:868: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Hashtable
src/macosx/classes/apple/security/KeychainStore.java:89: warning: [rawtypes] found raw type: Hashtable
src/macosx/classes/apple/security/KeychainStore.java:89: warning: [rawtypes] found raw type: Hashtable
src/macosx/classes/com/apple/eawt/_AppDockIconHandler.java:98: warning: [rawtypes] found raw type: Class
src/macosx/classes/com/apple/laf/AquaBorder.java:78: warning: [rawtypes] found raw type: Class
src/macosx/classes/com/apple/laf/AquaComboBoxButton.java:166: warning: [rawtypes] found raw type: ListCellRenderer
src/macosx/classes/com/apple/laf/AquaComboBoxButton.java:169: warning: [unchecked] unchecked call to getListCellRendererComponent(JList<? extends E>,E,int,boolean,boolean) as a member of the raw type ListCellRenderer
src/macosx/classes/com/apple/laf/AquaComboBoxButton.java:38: warning: [rawtypes] found raw type: JComboBox
src/macosx/classes/com/apple/laf/AquaComboBoxButton.java:39: warning: [rawtypes] found raw type: JList
src/macosx/classes/com/apple/laf/AquaComboBoxButton.java:48: warning: [rawtypes] found raw type: JComboBox
src/macosx/classes/com/apple/laf/AquaComboBoxButton.java:48: warning: [rawtypes] found raw type: JList
src/macosx/classes/com/apple/laf/AquaComboBoxPopup.java:100: warning: [unchecked] unchecked call to getListCellRendererComponent(JList<? extends E>,E,int,boolean,boolean) as a member of the raw type ListCellRenderer
src/macosx/classes/com/apple/laf/AquaComboBoxPopup.java:156: warning: [rawtypes] found raw type: JList
src/macosx/classes/com/apple/laf/AquaComboBoxPopup.java:157: warning: [rawtypes] found raw type: JList
src/macosx/classes/com/apple/laf/AquaComboBoxPopup.java:157: warning: [unchecked] unchecked call to JList(ListModel<E>) as a member of the raw type JList
src/macosx/classes/com/apple/laf/AquaComboBoxPopup.java:46: warning: [rawtypes] found raw type: JComboBox
src/macosx/classes/com/apple/laf/AquaComboBoxPopup.java:96: warning: [rawtypes] found raw type: ListCellRenderer
src/macosx/classes/com/apple/laf/AquaComboBoxRendererInternal.java:34: warning: [rawtypes] found raw type: ListCellRenderer
src/macosx/classes/com/apple/laf/AquaComboBoxRendererInternal.java:35: warning: [rawtypes] found raw type: JComboBox
src/macosx/classes/com/apple/laf/AquaComboBoxRendererInternal.java:43: warning: [rawtypes] found raw type: JComboBox
src/macosx/classes/com/apple/laf/AquaComboBoxRendererInternal.java:75: warning: [rawtypes] found raw type: JList
src/macosx/classes/com/apple/laf/AquaComboBoxRenderer.java:33: warning: [rawtypes] found raw type: JComboBox
src/macosx/classes/com/apple/laf/AquaComboBoxUI.java:105: warning: [rawtypes] found raw type: JList
src/macosx/classes/com/apple/laf/AquaComboBoxUI.java:111: warning: [rawtypes] found raw type: ListModel
src/macosx/classes/com/apple/laf/AquaComboBoxUI.java:128: warning: [rawtypes] found raw type: ListCellRenderer
src/macosx/classes/com/apple/laf/AquaComboBoxUI.java:188: warning: [rawtypes] found raw type: ListModel
src/macosx/classes/com/apple/laf/AquaComboBoxUI.java:426: warning: [rawtypes] found raw type: JComboBox
src/macosx/classes/com/apple/laf/AquaComboBoxUI.java:453: warning: [rawtypes] found raw type: JComboBox
src/macosx/classes/com/apple/laf/AquaComboBoxUI.java:457: warning: [rawtypes] found raw type: JComboBox
src/macosx/classes/com/apple/laf/AquaComboBoxUI.java:508: warning: [rawtypes] found raw type: JComboBox
src/macosx/classes/com/apple/laf/AquaComboBoxUI.java:528: warning: [rawtypes] found raw type: JComboBox
src/macosx/classes/com/apple/laf/AquaComboBoxUI.java:591: warning: [rawtypes] found raw type: JComboBox
src/macosx/classes/com/apple/laf/AquaComboBoxUI.java:591: warning: [rawtypes] found raw type: JComboBox
src/macosx/classes/com/apple/laf/AquaComboBoxUI.java:593: warning: [rawtypes] found raw type: JComboBox
src/macosx/classes/com/apple/laf/AquaComboBoxUI.java:594: warning: [rawtypes] found raw type: JComboBox
src/macosx/classes/com/apple/laf/AquaComboBoxUI.java:636: warning: [rawtypes] found raw type: JComboBox
src/macosx/classes/com/apple/laf/AquaComboBoxUI.java:644: warning: [rawtypes] found raw type: JComboBox
src/macosx/classes/com/apple/laf/AquaFileChooserUI.java:1147: warning: [rawtypes] found raw type: ListCellRenderer
src/macosx/classes/com/apple/laf/AquaFileChooserUI.java:1149: warning: [rawtypes] found raw type: JList
src/macosx/classes/com/apple/laf/AquaFileChooserUI.java:1176: warning: [rawtypes] found raw type: AbstractListModel
src/macosx/classes/com/apple/laf/AquaFileChooserUI.java:1176: warning: [rawtypes] found raw type: ComboBoxModel
src/macosx/classes/com/apple/laf/AquaFileChooserUI.java:1260: warning: [rawtypes] found raw type: ListCellRenderer
src/macosx/classes/com/apple/laf/AquaFileChooserUI.java:1262: warning: [rawtypes] found raw type: JList
src/macosx/classes/com/apple/laf/AquaFileChooserUI.java:1506: warning: [rawtypes] found raw type: JComboBox
src/macosx/classes/com/apple/laf/AquaFileChooserUI.java:1509: warning: [unchecked] unchecked call to setModel(ComboBoxModel<E>) as a member of the raw type JComboBox
src/macosx/classes/com/apple/laf/AquaFileChooserUI.java:1511: warning: [unchecked] unchecked call to setRenderer(ListCellRenderer<? super E>) as a member of the raw type JComboBox
src/macosx/classes/com/apple/laf/AquaFileChooserUI.java:1554: warning: [rawtypes] found raw type: JComboBox
src/macosx/classes/com/apple/laf/AquaFileChooserUI.java:1554: warning: [unchecked] unchecked call to JComboBox(ComboBoxModel<E>) as a member of the raw type JComboBox
src/macosx/classes/com/apple/laf/AquaFileChooserUI.java:1556: warning: [unchecked] unchecked call to setRenderer(ListCellRenderer<? super E>) as a member of the raw type JComboBox
src/macosx/classes/com/apple/laf/AquaFileChooserUI.java:1791: warning: [rawtypes] found raw type: JComboBox
src/macosx/classes/com/apple/laf/AquaFileChooserUI.java:1800: warning: [rawtypes] found raw type: JComboBox
src/macosx/classes/com/apple/laf/AquaFileChooserUI.java:727: warning: [unchecked] unchecked cast
src/macosx/classes/com/apple/laf/AquaFocusHandler.java:134: warning: [rawtypes] found raw type: JList
src/macosx/classes/com/apple/laf/AquaFocusHandler.java:152: warning: [rawtypes] found raw type: JList
src/macosx/classes/com/apple/laf/AquaListUI.java:138: warning: [rawtypes] found raw type: JList
src/macosx/classes/com/apple/laf/AquaListUI.java:147: warning: [rawtypes] found raw type: ListCellRenderer
src/macosx/classes/com/apple/laf/AquaListUI.java:150: warning: [unchecked] unchecked call to getListCellRendererComponent(JList<? extends E>,E,int,boolean,boolean) as a member of the raw type ListCellRenderer
src/macosx/classes/com/apple/laf/AquaListUI.java:82: warning: [rawtypes] found raw type: JList
src/macosx/classes/com/apple/laf/AquaTabbedPaneCopyFromBasicUI.java:3823: warning: [rawtypes] found raw type: Class
src/macosx/classes/com/apple/laf/AquaTableHeaderUI.java:73: warning: [unchecked] unchecked generic array creation for varargs parameter of type Property<JTableHeader>[]
src/macosx/classes/com/apple/laf/AquaUtilControlSize.java:124: warning: [rawtypes] found raw type: Class
src/macosx/classes/com/apple/laf/AquaUtils.java:386: warning: [rawtypes] found raw type: Class
src/macosx/classes/com/apple/laf/AquaUtils.java:85: warning: [rawtypes] found raw type: Class
src/macosx/classes/com/apple/laf/ClientPropertyApplicator.java:36: warning: [unchecked] Possible heap pollution from parameterized vararg type Property<N>
src/macosx/classes/com/apple/laf/ScreenMenuBar.java:276: warning: [unchecked] unchecked cast
src/macosx/classes/sun/font/CFontConfiguration.java:109: warning: [rawtypes] found raw type: HashMap
src/macosx/classes/sun/font/CFontConfiguration.java:109: warning: [unchecked] unchecked conversion
src/macosx/classes/sun/lwawt/macosx/CDragSourceContextPeer.java:314: warning: [rawtypes] found raw type: JList
src/macosx/classes/sun/lwawt/macosx/CDragSourceContextPeer.java:488: warning: [rawtypes] found raw type: Map
src/macosx/classes/sun/lwawt/macosx/CDragSourceContextPeer.java:91: warning: [rawtypes] found raw type: Map
src/macosx/classes/sun/lwawt/macosx/CInputMethodDescriptor.java:122: warning: [rawtypes] found raw type: List
src/macosx/classes/sun/lwawt/macosx/CInputMethodDescriptor.java:60: warning: [rawtypes] found raw type: List
src/macosx/classes/sun/lwawt/macosx/CInputMethod.java:245: warning: [rawtypes] found raw type: LWComponentPeer
src/macosx/classes/sun/lwawt/macosx/CInputMethod.java:275: warning: [rawtypes] found raw type: LWComponentPeer
src/macosx/classes/sun/lwawt/macosx/CInputMethod.java:308: warning: [rawtypes] found raw type: Map
src/macosx/classes/sun/lwawt/macosx/CInputMethod.java:387: warning: [rawtypes] found raw type: LWComponentPeer
src/macosx/classes/sun/lwawt/macosx/CInputMethod.java:47: warning: [rawtypes] found raw type: LWComponentPeer
src/macosx/classes/sun/lwawt/macosx/CInputMethod.java:54: warning: [rawtypes] found raw type: Map
src/macosx/classes/sun/lwawt/macosx/CInputMethod.java:54: warning: [unchecked] unchecked conversion
src/macosx/classes/sun/lwawt/macosx/CInputMethod.java:799: warning: [rawtypes] found raw type: LWComponentPeer
src/macosx/classes/sun/lwawt/macosx/CPlatformWindow.java:155: warning: [rawtypes] found raw type: Property
src/macosx/classes/sun/lwawt/macosx/LWCToolkit.java:701: warning: [unchecked] unchecked cast
src/macosx/classes/sun/lwawt/macosx/LWCToolkit.java:744: warning: [rawtypes] found raw type: Map
src/macosx/classes/sun/lwawt/macosx/LWCToolkit.java:744: warning: [unchecked] mapInputMethodHighlight(InputMethodHighlight) in LWCToolkit overrides mapInputMethodHighlight(InputMethodHighlight) in Toolkit