Details
-
Sub-task
-
Resolution: Delivered
-
P2
-
6u161, 7u151, 8u144
-
Verified
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8191151 | 7u171 | Clifford Wayne | P2 | Resolved | Withdrawn | |
JDK-8196598 | 7u151 | Owen Stuart | P2 | Closed | Delivered | |
JDK-8196804 | 6u171 | Clifford Wayne | P2 | Resolved | Withdrawn | |
JDK-8191152 | 6u161 | Clifford Wayne | P2 | Closed | Delivered |
Description
* the passed in argument `entryName` does not end with a '/', and
* there is a matching zip directory entry with name `entryName` + '/' in the zip file.
With this release, the name of the `ZipEntry` instance returned from `java.util.zip.ZipFile.getEntry()` always ends with '/' for any zip directory entry.
To revert to the previous behavior, set the system property `jdk.util.zip.ensureTrailingSlash` to "false".
This change was made in order to fix a regression introduced in JDK 8u141 when verifying signed JARs and has caused some WebStart applications to fail to load. See
Attachments
Issue Links
- backported by
-
JDK-8191151 Release Note: java.util.zip.ZipFile.getEntry() now always returns the ZipEntry instance with a '/' ended entry name for directory entry
- Resolved
-
JDK-8196804 Release Note: java.util.zip.ZipFile.getEntry() now always returns the ZipEntry instance with a '/' ended entry name for directory entry
- Resolved
-
JDK-8191152 Release Note: java.util.zip.ZipFile.getEntry() now always returns the ZipEntry instance with a '/' ended entry name for directory entry
- Closed
-
JDK-8196598 Release Note: java.util.zip.ZipFile.getEntry() now always returns the ZipEntry instance with a '/' ended entry name for directory entry
- Closed