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

Fix caching in Jar URL connections when an entry is missing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 17
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b17

      Description

      When an URL connection is referencing an entry that doesn't exist in a Jar file the Jar file is cached before an exception is thrown, but the Jar file can't be obtained from the failed connection, which prevents the caller, for instance a URLClassLoader, from closing it.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              aefimov Aleksej Efimov
              Reporter:
              aefimov Aleksej Efimov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: