Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8250855

Address reliance on default constructors in the Java 2D APIs

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 16
    • 16
    • client-libs
    • 2d
    • b18

      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

            ccleary Conor Cleary (Inactive)
            prr Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: