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

Close DelegatingJavaFileManager used with release argument

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 15
    • Fix Version/s: 16
    • Component/s: tools
    • Labels:
      None

      Description

      Reported on compiler-dev

      When the --release option is used with JavacTool.getTask a DelegatingJavaFileManager is installed in the context. I don't see any way to close this file manager to close the jar files that its release file manager is holding. If there is a way to close it then how would I do that? Otherwise can a way please be added?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jlahoda Jan Lahoda
                Reporter:
                jjg Jonathan Gibbons
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: