CTW library does not close all opened resources

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 10
    • Affects Version/s: 9, 10
    • Component/s: hotspot
    • b21

      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.

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

              Created:
              Updated:
              Resolved: