[jdk17u-dev] RFR: 8313765: Invalid CEN header (invalid zip64 extra data field size)
Ben Taylor
btaylor at openjdk.org
Thu Aug 17 17:56:41 UTC 2023
On Thu, 17 Aug 2023 02:16:28 GMT, Ben Taylor <btaylor at openjdk.org> wrote:
> Backport is not clean, required changes:
> - Some context lines
> - Changes to `CorruptedZipFiles.java` had to be altered because [8304014](https://bugs.openjdk.org/browse/JDK-8304014) has not been backported to jdk20
>
> All tests in `test/jdk/java/util/zip` pass
Checked out this branch locally on an amazon linux 2 x64 host:
====================================================
A new configuration has been successfully created in
/home/benty/workspace/github/jdk17u-dev/build/linux-x86_64-server-release
using configure arguments '--with-jtreg=/home/benty/jtreg/7.3.1/jtreg/'.
Configuration summary:
* Name: linux-x86_64-server-release
* Debug level: release
* HS debug level: product
* JVM variants: server
* JVM features: server: 'cds compiler1 compiler2 epsilongc g1gc jfr jni-check jvmci jvmti management nmt parallelgc serialgc services shenandoahgc vm-structs zgc'
* OpenJDK target: OS: linux, CPU architecture: x86, address length: 64
* Version string: 17.0.9-internal+0-adhoc.benty.jdk17u-dev (17.0.9-internal)
Tools summary:
* Boot JDK: openjdk version "17.0.8" 2023-07-18 LTS OpenJDK Runtime Environment Corretto-17.0.8.7.1 (build 17.0.8+7-LTS) OpenJDK 64-Bit Server VM Corretto-17.0.8.7.1 (build 17.0.8+7-LTS, mixed mode, sharing) (at /usr/lib/jvm/java-17-amazon-corretto.x86_64)
* Toolchain: gcc (GNU Compiler Collection)
* C Compiler: Version 7.3.1 (at /usr/bin/gcc)
* C++ Compiler: Version 7.3.1 (at /usr/bin/g++)
Build performance summary:
* Cores to use: 16
* Memory limit: 122745 MB
`${HOME}/jtreg/7.3.1/jtreg/bin/jtreg -agentvm -a -ea -esa -conc:7 -ignore:quiet -J-Xmx1024m -v:summary,fail,error -timeoutFactor:8 -vmoption:-Xmx1024m -jdk:build/linux-x86_64-server-release/jdk -dir:. test/jdk/java/util/zip` produced
<snip>
Passed: java/util/zip/ZipFile/ReadNonStandardExtraHeadersTest.java
<snip>
Test results: passed: 70
I can share the jtr if it would be helpful.
-------------
PR Comment: https://git.openjdk.org/jdk17u-dev/pull/1670#issuecomment-1682720893
More information about the jdk-updates-dev
mailing list