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

Missed default constructor for StreamPrintServiceFactory.java

    XMLWordPrintable

Details

    • CSR
    • Resolution: Approved
    • P4
    • 16
    • client-libs
    • None
    • 2d
    • source
    • minimal
    • SE

    Description

      Summary

      Add a default constructor for StreamPrintServiceFactory.java

      Problem

      Default constructors are an anti--pattern which we need to fix in the desktop module. This is one case that was missed in a previous pass.

      Solution

      Add a default constructor

      Specification

      public abstract class javax.print.StreamPrintServiceFactory {
      
      +    /**
      +     * Constructor for subclasses to call.
      +     */
      +     protected StreamPrintServiceFactory() {}
      +
      
      

      Attachments

        Issue Links

          Activity

            People

              prr Philip Race
              prr Philip Race
              Sergey Bylokhov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: