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

Address reliance on default constructors in the Java 2D APIs

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
      2d
    • Resolved In Build:
      b18

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: