JDK-8210899 : (zipfs) ZipFileSystem.EntryOutputStreamCRC32 mistakenly set the crc32 value into size field
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 11,12
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2018-09-18
  • Updated: 2021-11-19
  • Resolved: 2018-09-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 12
11.0.4Fixed 12 b12Fixed
Related Reports
Relates :  
Description
The changeset for JDK-8034802 has a "typo" in EntryOutputStreamCRC32.close() method, in which it mistakenly sets the crc32 value into "size" field.

Comments
Fix Request This resolves the regression caused by JDK-8034802 that is already backported. Patch applies cleanly to 11u. New test fails without product fix, and passes with it. Additionally, jdk/nio/zipfs tests pass.
10-04-2019

URL: http://hg.openjdk.java.net/jdk/jdk/rev/feb4c9e03aed User: sherman Date: 2018-09-19 02:44:40 +0000
19-09-2018