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

Fix caching in Jar URL connections when an entry is missing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 17
    • None
    • core-libs
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: