RFR[8250855]: 'Address reliance on default constructors in the Java 2D APIs'

Conor Cleary conor.cleary at oracle.com
Mon Aug 17 10:11:14 UTC 2020

Hi all,

Looking for reviewers for JDK-8250855, 'Address reliance on default 
constructors in the Java 2D APIs'.

This patch addresses the reliance on default constructors in the 
following packages:

  * java.awt.Image
  * java.awt.PrintJob
  * java.awt.font.GlyphVector
  * java.awt.font.LayoutPath
  * java.awt.font.LineMetrics
  * java.awt.image.AbstractMultiResolutionImage
  * java.awt.image.BufferStrategy
  * java.awt.image.ImageFilter
  * java.awt.image.RGBImageFilter
  * java.awt.image.VolatileImage
  * javax.print.PrintServiceLookup
  * javax.print.ServiceUI
  * javax.print.ServiceUIFactory
  * javax.print.StreamPrintServiceFactory
  * javax.print.event.PrintJobAdapter

The patch places simple constructors in all of these packages.

  * bug: https://bugs.openjdk.java.net/browse/JDK-8250855
  * webrev:


More information about the jdk-dev mailing list