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

ZipFile::getEntry will not return a file entry when there is a directory entry of the same name within a Zip File

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 18
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Introduced In Version:
      15
    • Resolved In Build:
      b24
    • Verification:
      Verified

      Description

      JDK 15 through JDK-8242959 introduced a regression where you could not access a file entry contained within a Zip file when there was also a directory entry with the same name via ZipFile:getEntry().

      Once fixed, the behavior will be consistent with earlier JDK releases.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lancea Lance Andersen
              Reporter:
              lancea Lance Andersen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: