JDK-7109837 : Provide a mechanism for computing an Adler32 checksum for the contents of a ByteBuffer
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.util.jar
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2011-11-08
  • Updated: 2017-05-16
  • Resolved: 2012-05-09
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
7u4Fixed 8 b17Fixed
Description
java.util.zip.Adler32.java does not offer an API that accepts at ByteBuffer,
you are (as of 7u1) required to copy the DirectBuffer into a Java byte[], then call
Adler32's update() API (that's limited to byte[]). Which might have significant performance impacr for some applications.

Comments
Additional SQE tests have been added in INTJDK-7170050 and INTJDK-2223566
14-08-2013

EVALUATION To add 2 methods j.u.z.Adler32/CRC32.update(Buffer).
29-11-2011