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

CacheFSInfo not used when JSR 199 is used

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P3 P3
    • tbd
    • 7
    • 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.)

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: