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

Overload JavaCompiler.getStandardFileManager() and Tools.run() to avoid calling with NULL

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • P4
    • None
    • 7
    • tools
    • generic
    • generic

    Description

      In most of the normal usage, we will be calling Standard java file manager as, JavaCompiler.StandardJavaFileManager(null,null,null).
      How about providing one more method getStandardJavaFileManager() which internally calls getStandardJavaFileManager(null,null,null) like

      StandardJavaFileManager getStandardFileManager() {
          getStandardFileManager(null,null,null);
      }

      Also same for Tool.run(), one more method can be added some thing like
      int run(String... arguments) {
              run(null, null, null, arguments);
      }

      Attachments

        Activity

          People

            jjg Jonathan Gibbons
            savadhansunw Seetharama Avadhanam (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Imported:
              Indexed: