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

ToolBox should close any file manager it opens

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • tools
    • b99
    • Not verified

      Currently, if ToolBox is not given a file manager, it will open and cache one for use as needed.

      This makes it hard to know when to close it (requiring ToolBox to be Closeable is a very big ugly sledgehammer) and it leads to unfortunate coupling between separate tasks created by ToolBox.

      It would be better to create, use and then close temporary file managers as needed, and if a client wants to share file managers across tasks, the use of such a file manager is best handled directly by the client.

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

              Created:
              Updated:
              Resolved: