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

Remove deprecated constructor for Log

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b26

      Description

      The following constructor in javac Log is no longer required and can be removed, after updating the one use case in javadoc.


          /**
           * Construct a log with given I/O redirections.
           * @deprecated
           * This constructor is provided to support the supported but now-deprecated javadoc entry point
           * com.sun.tools.javadoc.Main.execute(String programName,
           * PrintWriter errWriter, PrintWriter warnWriter, PrintWriter noticeWriter,
           * String defaultDocletClassName, String... args)
           */
          @Deprecated
          protected Log(Context context, PrintWriter errWriter, PrintWriter warnWriter, PrintWriter noticeWriter) {
              this(context, initWriters(errWriter, warnWriter, noticeWriter));
          }

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jjg Jonathan Gibbons
              Reporter:
              jjg Jonathan Gibbons
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: