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

should remove unused support for enabling javac logging

    XMLWordPrintable

Details

    • b112
    • generic
    • generic
    • Not verified

    Description

      We should remove this usused method. If nothing else, it causes an unnecessary dependency for Jigsaw.

      In com.sun.tools.javac.main.JavaCompiler

          public static void enableLogging() {
              Logger logger = Logger.getLogger(com.sun.tools.javac.Main.class.getPackage().getName());
              logger.setLevel(Level.ALL);
              for (Handler h : logger.getParent().getHandlers()) {
                  h.setLevel(Level.ALL);
             }

          }

      Attachments

        Activity

          People

            kizune Alexander Zuev
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: