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

compiler/compilercontrol/share/processors/LogProcessor.java does not close Scanner

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b140

      Description

      LogProcessor::getScanner open java.util.Scanner but its users do not close this Scanner, hence there is a resource leak which leads to 'failed to clean up files after test' error.

        Attachments

          Activity

            People

            • Assignee:
              iignatyev Igor Ignatyev
              Reporter:
              iignatyev Igor Ignatyev
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: