-
Bug
-
Resolution: Fixed
-
P4
-
8, 11
-
b01
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8292565 | openjdk8u352 | Dukebot | P4 | Resolved | Fixed | b04 |
Internal testing by my colleges found an issue in jdk11 and jdk8 which fails with the following exception related to Pack200 compression.
java.util.zip.ZipException: invalid entry compressed size (expected 68 but got 69 bytes)
at java.base/java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:268)
at java.base/java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:193)
at java.base/java.util.jar.JarOutputStream.putNextEntry(JarOutputStream.java:109)
at java.base/com.sun.java.util.jar.pack.Utils.copyJarFile(Utils.java:234)
at java.base/com.sun.java.util.jar.pack.Utils.copyJarFile(Utils.java:257)
at java.base/com.sun.java.util.jar.pack.PackerImpl.pack(PackerImpl.java:90)
at javasoft.sqe.tests.api.java.util.jar.Pack200.distributed.PackServer.handle_pack(PackServer.java:240)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.sun.jck.lib.DistributedTest.handleMessage(DistributedTest.java:218)
at javasoft.sqe.tests.api.java.util.jar.Pack200.distributed.PackServer.handleMessage(PackServer.java:180)
at com.sun.jck.lib.DistributedTest$1.handleMessage(DistributedTest.java:66)
at com.sun.jck.lib.MessageClient.run(MessageClient.java:127)
at com.sun.jck.lib.DistributedTest.go(DistributedTest.java:94)
at com.sun.jck.lib.DistributedTest.run(DistributedTest.java:72)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd$Version2Test.execute(ExecJCKTestSameJVMCmd.java:566)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd$StandardTest.run(ExecJCKTestSameJVMCmd.java:523)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd.execute(ExecJCKTestSameJVMCmd.java:407)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd.run(ExecJCKTestSameJVMCmd.java:337)
at com.sun.javatest.agent.Agent$Task$CommandExecutor$2.run(Agent.java:899)
at java.base/java.lang.Thread.run(Thread.java:871)
Suppressed: java.util.zip.ZipException: invalid entry compressed size (expected 68 but got 69 bytes)
at java.base/java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:268)
at java.base/java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:361)
at java.base/java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:238)
at java.base/java.util.zip.ZipOutputStream.close(ZipOutputStream.java:378)
at java.base/com.sun.java.util.jar.pack.Utils.copyJarFile(Utils.java:256)
... 22 more
java.util.zip.ZipException: invalid entry compressed size (expected 68 but got 69 bytes)
at java.base/java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:268)
at java.base/java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:193)
at java.base/java.util.jar.JarOutputStream.putNextEntry(JarOutputStream.java:109)
at java.base/com.sun.java.util.jar.pack.Utils.copyJarFile(Utils.java:234)
at java.base/com.sun.java.util.jar.pack.Utils.copyJarFile(Utils.java:257)
at java.base/com.sun.java.util.jar.pack.PackerImpl.pack(PackerImpl.java:90)
at javasoft.sqe.tests.api.java.util.jar.Pack200.distributed.PackServer.handle_pack(PackServer.java:240)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.sun.jck.lib.DistributedTest.handleMessage(DistributedTest.java:218)
at javasoft.sqe.tests.api.java.util.jar.Pack200.distributed.PackServer.handleMessage(PackServer.java:180)
at com.sun.jck.lib.DistributedTest$1.handleMessage(DistributedTest.java:66)
at com.sun.jck.lib.MessageClient.run(MessageClient.java:127)
at com.sun.jck.lib.DistributedTest.go(DistributedTest.java:94)
at com.sun.jck.lib.DistributedTest.run(DistributedTest.java:72)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd$Version2Test.execute(ExecJCKTestSameJVMCmd.java:566)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd$StandardTest.run(ExecJCKTestSameJVMCmd.java:523)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd.execute(ExecJCKTestSameJVMCmd.java:407)
at com.sun.jck.lib.ExecJCKTestSameJVMCmd.run(ExecJCKTestSameJVMCmd.java:337)
at com.sun.javatest.agent.Agent$Task$CommandExecutor$2.run(Agent.java:899)
at java.base/java.lang.Thread.run(Thread.java:871)
Suppressed: java.util.zip.ZipException: invalid entry compressed size (expected 68 but got 69 bytes)
at java.base/java.util.zip.ZipOutputStream.closeEntry(ZipOutputStream.java:268)
at java.base/java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:361)
at java.base/java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:238)
at java.base/java.util.zip.ZipOutputStream.close(ZipOutputStream.java:378)
at java.base/com.sun.java.util.jar.pack.Utils.copyJarFile(Utils.java:256)
... 22 more
- backported by
-
JDK-8292565 Pack200 extraction failure with invalid size
- Resolved
- relates to
-
JDK-8253952 Refine ZipOutputStream.putNextEntry() to recalculate ZipEntry's compressed size
- Resolved
- links to
-
Commit openjdk/jdk8u-dev/645b6c81
-
Commit openjdk/jdk11u-dev/5e1ce54d
-
Review openjdk/jdk8u-dev/86
-
Review openjdk/jdk11u-dev/1163
(1 links to)