199: path options ignored when reusing filemanager across tasks

XMLWordPrintable

    • b19
    • generic, x86
    • generic, windows_vista
    • Verified

      If I create a shared JavaCompiler and shared JavaFileManager, then create different tasks using "-d" to specify different directories, only the first value is used. Subsequent ones appear to be ignored.

      Workaround is to explicitly change location on filemanager, such as with StandardJavaFilemanager.setLocation.

      Test case is upcoming new test
      test/tools/javac/api/TestJavacTask_ParseEnterGen.java

      Note use of setLocation instead of "-d" in options.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: