CacheFSInfo not used when JSR 199 is used

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P3
    • tbd
    • Affects Version/s: 7
    • Component/s: tools
    • generic
    • generic

      In batch mode, javac uses a caching impl of FSInfo. This is handled in javac Main here:

                  boolean batchMode = (options.isUnset("nonBatchMode")
                              && System.getProperty("nonBatchMode") == null);
                  if (batchMode)
                      CacheFSInfo.preRegister(context);

      There is no corresponding facility within the JSR 199 API (JavacTool/JavacTask etc) meaning that we never cache fsinfo when JSR 199 is in use, except in the trivial case where 199 delegates to main (i.e. when a simple run is called.)

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: