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

199: path options ignored when reusing filemanager across tasks

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: