JDK-7188852 : Move implementation of De/Inflater.getBytesRead/Writtten() to java from native
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.util.jar
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2012-08-02
  • Updated: 2013-06-26
  • Resolved: 2012-08-20
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 7 JDK 8
7u40Fixed 8 b52Fixed
Description
Move implementation of De/Inflater.getBytesRead/Writtten() to java level from native (which use zlib's z_stream.total_in/out fields, and these two fields have 4G limit) to avoid patch the zlib source code directly to support > 4G compression/decompression.

Comments
EVALUATION http://hg.openjdk.java.net/hsx/hotspot-comp/jdk/rev/1468b0af0d06
14-08-2012

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-main/jdk/rev/1468b0af0d06
11-08-2012

EVALUATION Yes, this needs to be done more we move on to use OS bundled zlib on some platforms. See#7110151
02-08-2012