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

This for the AWT APIs.

Default ctor on java.awt.ContainerOrderFocusTraversalPolicy 
Default ctor on java.awt.DefaultFocusTraversalPolicy 
Default ctor on java.awt.DefaultKeyboardFocusManager 
Default ctor on java.awt.FocusTraversalPolicy 
Default ctor on java.awt.Toolkit 
Default ctor on java.awt.dnd.DragSourceAdapter 
Default ctor on java.awt.dnd.DropTargetAdapter 
Default ctor on java.awt.event.ComponentAdapter 
Default ctor on java.awt.event.ContainerAdapter 
Default ctor on java.awt.event.FocusAdapter 
Default ctor on java.awt.event.HierarchyBoundsAdapter 
Default ctor on java.awt.event.KeyAdapter 
Default ctor on java.awt.event.MouseAdapter 
Default ctor on java.awt.event.MouseMotionAdapter 
Default ctor on java.awt.event.WindowAdapter 
Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/8a42ac1c1a58 User: psadhukhan Date: 2020-08-15 05:39:36 +0000
15-08-2020

URL: https://hg.openjdk.java.net/jdk/client/rev/8a42ac1c1a58 User: serb Date: 2020-08-11 22:22:55 +0000
11-08-2020