JDK-8250855 : Address reliance on default constructors in the Java 2D APIs
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 16
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-07-30
  • Updated: 2024-11-22
  • Resolved: 2020-09-24
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 b18Fixed
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 the Java 2D APIs
Default ctor on java.awt.Image 
Default ctor on java.awt.PrintJob 
Default ctor on java.awt.font.GlyphVector 
Default ctor on java.awt.font.LayoutPath 
Default ctor on java.awt.font.LineMetrics 
Default ctor on java.awt.image.AbstractMultiResolutionImage 
Default ctor on java.awt.image.BufferStrategy 
Default ctor on java.awt.image.ImageFilter 
Default ctor on java.awt.image.RGBImageFilter 
Default ctor on java.awt.image.VolatileImage 
Default ctor on javax.print.PrintServiceLookup 
Default ctor on javax.print.ServiceUI 
Default ctor on javax.print.ServiceUIFactory 
Default ctor on javax.print.StreamPrintServiceFactory 
Default ctor on javax.print.event.PrintJobAdapter 

Comments
Changeset: 3495c19d Author: Conor Cleary <ccleary@openjdk.org> Committer: Phil Race <prr@openjdk.org> Date: 2020-09-24 16:07:24 +0000 URL: https://git.openjdk.java.net/jdk/commit/3495c19d
24-09-2020