United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7109837 Provide a mechanism for computing an Adler32 checksum for the contents of a ByteBuffer
JDK-7109837 : Provide a mechanism for computing an Adler32 checksum for the contents of a ByteBuffer

Details
Type:
Enhancement
Submit Date:
2011-11-08
Status:
Closed
Updated Date:
2013-08-02
Project Name:
JDK
Resolved Date:
2012-05-09
Component:
core-libs
OS:
generic
Sub-Component:
java.util.jar
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports
Backport:

Sub Tasks

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
EVALUATION

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



Hardware and Software, Engineered to Work Together