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

Update ToolTester tests to close file manager

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • tools
    • b38
    • Verified

        Many tests in test/tools/javac/api use a library class called ToolTester which opens a filemanaer for use by the test. The file manager is never closed and should be.

        This can be done by making the ToolTester AutoCloseable and using t-w-r to run the test classes.

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

                Created:
                Updated:
                Resolved: