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

CTW library does not close all opened resources

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9, 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b21

      Description

      there are several occurrences where an resource is opened but not properly closed, for example sun.hotspot.tools.ctw.ClassPathJarEntry::process opens JarFile, but does not close it.

      all such occurrences should be fixed by either using try-w/-resources or explicit close in finally block.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: