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

199: path options ignored when reusing filemanager across tasks

    Details

    • Subcomponent:
    • Resolved In Build:
      b19
    • CPU:
      generic, x86
    • OS:
      generic, windows_vista
    • Verification:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: