-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b02
-
b01
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8335540 | 11.0.24.0.1-oracle | Joakim Nordström | P4 | Closed | Fixed | b01 |
JDK-8334186 | 8u431 | Sean Coffey | P4 | Resolved | Fixed | b01 |
JDK-8335303 | 8u421 | Joakim Nordström | P4 | Closed | Fixed | b31 |
jrecreate tool got the error after JDK-8322106.
This occurs when using the Java implementation to unpack large files such as rt.jar.
com.sun.java.util.jar.pack.Utils$Pack200Logger warning
WARNING: Error on input: java.io.IOException: Resetting to invalid mark
Building JRE failed. null
java.lang.InternalError
at oracle.tools.jrecreate.JREBuilder.repackJarFiles(JREBuilder.java:459)
at oracle.tools.jrecreate.JREBuilder.build(JREBuilder.java:71)
at oracle.tools.jrecreate.Main.main(Main.java:38)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at oracle.tools.jrecreate.JREBuilder.repackJarFiles(JREBuilder.java:457)
... 2 more
Caused by: java.io.IOException: Resetting to invalid mark
at java.io.BufferedInputStream.reset(BufferedInputStream.java:448)
at com.sun.java.util.jar.pack.PackageReader$LimitedBuffer.ensureLengthValid(PackageReader.java:137)
at com.sun.java.util.jar.pack.PackageReader$LimitedBuffer.access$000(PackageReader.java:77)
at com.sun.java.util.jar.pack.PackageReader.readConstantPool(PackageReader.java:492)
at com.sun.java.util.jar.pack.PackageReader.read(PackageReader.java:179)
at com.sun.java.util.jar.pack.UnpackerImpl$DoUnpack.unpackSegment(UnpackerImpl.java:232)
at com.sun.java.util.jar.pack.UnpackerImpl$DoUnpack.run(UnpackerImpl.java:220)
at com.sun.java.util.jar.pack.UnpackerImpl.unpack(UnpackerImpl.java:133)
at com.sun.java.util.jar.pack.Driver.main(Driver.java:354)
This occurs when using the Java implementation to unpack large files such as rt.jar.
com.sun.java.util.jar.pack.Utils$Pack200Logger warning
WARNING: Error on input: java.io.IOException: Resetting to invalid mark
Building JRE failed. null
java.lang.InternalError
at oracle.tools.jrecreate.JREBuilder.repackJarFiles(JREBuilder.java:459)
at oracle.tools.jrecreate.JREBuilder.build(JREBuilder.java:71)
at oracle.tools.jrecreate.Main.main(Main.java:38)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at oracle.tools.jrecreate.JREBuilder.repackJarFiles(JREBuilder.java:457)
... 2 more
Caused by: java.io.IOException: Resetting to invalid mark
at java.io.BufferedInputStream.reset(BufferedInputStream.java:448)
at com.sun.java.util.jar.pack.PackageReader$LimitedBuffer.ensureLengthValid(PackageReader.java:137)
at com.sun.java.util.jar.pack.PackageReader$LimitedBuffer.access$000(PackageReader.java:77)
at com.sun.java.util.jar.pack.PackageReader.readConstantPool(PackageReader.java:492)
at com.sun.java.util.jar.pack.PackageReader.read(PackageReader.java:179)
at com.sun.java.util.jar.pack.UnpackerImpl$DoUnpack.unpackSegment(UnpackerImpl.java:232)
at com.sun.java.util.jar.pack.UnpackerImpl$DoUnpack.run(UnpackerImpl.java:220)
at com.sun.java.util.jar.pack.UnpackerImpl.unpack(UnpackerImpl.java:133)
at com.sun.java.util.jar.pack.Driver.main(Driver.java:354)
- backported by
-
JDK-8334186 Pack200.newUnpacker().unpack() throws IOException.
- Resolved
-
JDK-8335303 Pack200.newUnpacker().unpack() throws IOException.
- Closed
-
JDK-8335540 Pack200.newUnpacker().unpack() throws IOException.
- Closed