JDK-8047027 : Fix raw and unchecked lint warnings in generated beaninfo files
  • Type: Sub-task
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-06-16
  • Updated: 2014-08-29
  • Resolved: 2014-07-14
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.

To download the current JDK release, click here.
JDK 9
9 b26Fixed
Related Reports
Relates :  
Description
Various beaninfo-generated files have raw and unchecked warnings; these should be fixed.
Comments
Review threads: http://mail.openjdk.java.net/pipermail/beans-dev/2014-July/000112.html http://mail.openjdk.java.net/pipermail/swing-dev/2014-July/003736.html
12-07-2014

The changes for JDK-4058433 are in jdk9/client, it would be good to check a build of that forest to see if there are any remaining issues. The top-level issue is JDK-7179078.
09-07-2014

At time of writing, warning in an OpenJDK build log: gensrc_no_srczip/javax/swing/AbstractButtonBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/BoxBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JAppletBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JButtonBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JCheckBoxBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JCheckBoxMenuItemBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JColorChooserBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JComboBoxBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JComponentBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JDesktopPaneBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JDialogBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JEditorPaneBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JFileChooserBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JFormattedTextFieldBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JFrameBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JInternalFrameBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JLabelBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JLayeredPaneBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JListBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JMenuBarBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JMenuBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JMenuItemBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JOptionPaneBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JPanelBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JPasswordFieldBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JPopupMenuBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JProgressBarBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JRadioButtonBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JRadioButtonMenuItemBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JScrollBarBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JScrollPaneBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JSeparatorBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JSliderBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JSpinnerBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JSplitPaneBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JTabbedPaneBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JTableBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JTextAreaBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JTextFieldBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JTextPaneBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JToggleButtonBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JToolBarBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JTreeBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/JWindowBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/SwingBeanInfoBase.java:70: warning: [rawtypes] found raw type: Class gensrc_no_srczip/javax/swing/text/JTextComponentBeanInfo.java:45: warning: [rawtypes] found raw type: Class gensrc/sun/swing/BeanInfoUtils.java:125: warning: [rawtypes] found raw type: Class gensrc/sun/swing/BeanInfoUtils.java:159: warning: [rawtypes] found raw type: Class gensrc/sun/swing/BeanInfoUtils.java:159: warning: [unchecked] unchecked call to getMethod(String,Class<?>...) as a member of the raw type Class gensrc/sun/swing/BeanInfoUtils.java:171: warning: [rawtypes] found raw type: Class gensrc/sun/swing/BeanInfoUtils.java:172: warning: [rawtypes] found raw type: Class gensrc/sun/swing/BeanInfoUtils.java:172: warning: [unchecked] unchecked call to getMethod(String,Class<?>...) as a member of the raw type Class gensrc/sun/swing/BeanInfoUtils.java:218: warning: [rawtypes] found raw type: Class gensrc/sun/swing/BeanInfoUtils.java:220: warning: [rawtypes] found raw type: Class gensrc/sun/swing/BeanInfoUtils.java:245: warning: [rawtypes] found raw type: Class gensrc/sun/swing/BeanInfoUtils.java:249: warning: [rawtypes] found raw type: Class gensrc/sun/swing/BeanInfoUtils.java:249: warning: [rawtypes] found raw type: Class gensrc/sun/swing/BeanInfoUtils.java:253: warning: [unchecked] unchecked call to getMethod(String,Class<?>...) as a member of the raw type Class gensrc/sun/swing/BeanInfoUtils.java:258: warning: [unchecked] unchecked call to getMethod(String,Class<?>...) as a member of the raw type Class gensrc/sun/swing/BeanInfoUtils.java:267: warning: [rawtypes] found raw type: Class gensrc/sun/swing/BeanInfoUtils.java:269: warning: [unchecked] unchecked call to getMethod(String,Class<?>...) as a member of the raw type Class
16-06-2014