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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Rejected
    • Priority: P4
    • None
    • Affects Version/s: 7
    • Component/s: tools
    • generic
    • generic

      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);
      }

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: