JDK-8250850 : Address reliance on default constructors in the javax.swing.plaf.metal APIs
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 16
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-07-30
  • Updated: 2024-11-20
  • Resolved: 2020-08-26
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 16
16 b14Fixed
Related Reports
CSR :  
Relates :  
Description
Several hundred classes in the java.desktop module reply on default constructors as part of their public API. 
This is for javax.swing.plaf.metal APIs 

Default ctor on javax.swing.plaf.metal.MetalBorders 
Default ctor on javax.swing.plaf.metal.MetalBorders.ButtonBorder 
Default ctor on javax.swing.plaf.metal.MetalBorders.Flush3DBorder 
Default ctor on javax.swing.plaf.metal.MetalBorders.InternalFrameBorder 
Default ctor on javax.swing.plaf.metal.MetalBorders.MenuBarBorder 
Default ctor on javax.swing.plaf.metal.MetalBorders.MenuItemBorder 
Default ctor on javax.swing.plaf.metal.MetalBorders.OptionDialogBorder 
Default ctor on javax.swing.plaf.metal.MetalBorders.PaletteBorder 
Default ctor on javax.swing.plaf.metal.MetalBorders.PopupMenuBorder 
Default ctor on javax.swing.plaf.metal.MetalBorders.RolloverButtonBorder 
Default ctor on javax.swing.plaf.metal.MetalBorders.ScrollPaneBorder 
Default ctor on javax.swing.plaf.metal.MetalBorders.TableHeaderBorder 
Default ctor on javax.swing.plaf.metal.MetalBorders.TextFieldBorder 
Default ctor on javax.swing.plaf.metal.MetalBorders.ToggleButtonBorder 
Default ctor on javax.swing.plaf.metal.MetalBorders.ToolBarBorder 
Default ctor on javax.swing.plaf.metal.MetalButtonUI 
Default ctor on javax.swing.plaf.metal.MetalCheckBoxIcon 
Default ctor on javax.swing.plaf.metal.MetalCheckBoxUI 
Default ctor on javax.swing.plaf.metal.MetalComboBoxEditor.UIResource 
Default ctor on javax.swing.plaf.metal.MetalComboBoxIcon 
Default ctor on javax.swing.plaf.metal.MetalComboBoxUI 
Default ctor on javax.swing.plaf.metal.MetalComboBoxUI.MetalComboBoxLayoutManager 
Default ctor on javax.swing.plaf.metal.MetalComboBoxUI.MetalPropertyChangeListener 
Default ctor on javax.swing.plaf.metal.MetalFileChooserUI.FilterComboBoxRenderer 
Default ctor on javax.swing.plaf.metal.MetalIconFactory 
Default ctor on javax.swing.plaf.metal.MetalIconFactory.FileIcon16 
Default ctor on javax.swing.plaf.metal.MetalIconFactory.FolderIcon16 
Default ctor on javax.swing.plaf.metal.MetalIconFactory.PaletteCloseIcon 
Default ctor on javax.swing.plaf.metal.MetalIconFactory.TreeFolderIcon 
Default ctor on javax.swing.plaf.metal.MetalIconFactory.TreeLeafIcon 
Default ctor on javax.swing.plaf.metal.MetalLabelUI 
Default ctor on javax.swing.plaf.metal.MetalLookAndFeel 
Default ctor on javax.swing.plaf.metal.MetalMenuBarUI 
Default ctor on javax.swing.plaf.metal.MetalPopupMenuSeparatorUI 
Default ctor on javax.swing.plaf.metal.MetalProgressBarUI 
Default ctor on javax.swing.plaf.metal.MetalRadioButtonUI 
Default ctor on javax.swing.plaf.metal.MetalRootPaneUI 
Default ctor on javax.swing.plaf.metal.MetalScrollBarUI 
Default ctor on javax.swing.plaf.metal.MetalScrollPaneUI 
Default ctor on javax.swing.plaf.metal.MetalSeparatorUI 
Default ctor on javax.swing.plaf.metal.MetalSplitPaneUI 
Default ctor on javax.swing.plaf.metal.MetalTabbedPaneUI 
Default ctor on javax.swing.plaf.metal.MetalTextFieldUI 
Default ctor on javax.swing.plaf.metal.MetalTheme 
Default ctor on javax.swing.plaf.metal.MetalToggleButtonUI 

Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/5a89be844a76 User: psadhukhan Date: 2020-08-29 05:41:37 +0000
29-08-2020

URL: https://hg.openjdk.java.net/jdk/client/rev/5a89be844a76 User: psadhukhan Date: 2020-08-26 09:18:00 +0000
26-08-2020