Details
-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
b11
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8327714 | 21.0.4-oracle | Shivangi Gupta | P4 | Resolved | Fixed | b01 |
JDK-8328916 | 21.0.4 | Sonia Zaldana Calles | P4 | Resolved | Fixed | b01 |
JDK-8327721 | 17.0.12-oracle | Shivangi Gupta | P4 | Resolved | Fixed | b01 |
JDK-8330827 | 17.0.12 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
Description
The test currently does this by calling out to the 'zip' command line. This has turned out to be brittle to changes in distros and the test is currently manual and problem-listed. See
Rather than calling out to 'zip', this test could benefit from using a small ZIP instead, containing a CEN with the necessary conditions to trigger
- The CEN must have a 'INFO-ZIP extended timestamp' AND a Zip64 extended information field.
- The extended timestamp must come first
- The size, compressed size and loc offset fields of the CEN must be 0xFFFFFFFF
This speeds up the test from 35s -> 3s, saves disk space and makes the test independent of OS/distro.
Attachments
Issue Links
- backported by
-
JDK-8327714 (zipfs) Make test/jdk/jdk/nio/zipfs/TestLocOffsetFromZip64EF.java independent of the zip command line
- Resolved
-
JDK-8327721 (zipfs) Make test/jdk/jdk/nio/zipfs/TestLocOffsetFromZip64EF.java independent of the zip command line
- Resolved
-
JDK-8328916 (zipfs) Make test/jdk/jdk/nio/zipfs/TestLocOffsetFromZip64EF.java independent of the zip command line
- Resolved
-
JDK-8330827 (zipfs) Make test/jdk/jdk/nio/zipfs/TestLocOffsetFromZip64EF.java independent of the zip command line
- Resolved
- relates to
-
JDK-8301183 (zipfs) jdk/jdk/nio/zipfs/TestLocOffsetFromZip64EF.java failing with ZipException:R0 on OL9
- Resolved
- links to
-
Commit openjdk/jdk17u-dev/776e10ae
-
Commit openjdk/jdk21u-dev/5694ad27
-
Commit openjdk/jdk/7004c272
-
Review openjdk/jdk17u-dev/2420
-
Review openjdk/jdk21u-dev/377
-
Review openjdk/jdk/12979