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

CTW library does not close all opened resources

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 10
    • 9, 10
    • 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.

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

              Created:
              Updated:
              Resolved: