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

Remove deprecated constructor for Log

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 17
    • 17
    • tools
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: