JDK-4898484 : Cipher should optimize cases where only one buffer is a DirectBuffer
  • Type: Enhancement
  • Component: security-libs
  • Sub-Component: javax.crypto:pkcs11
  • Affected Version: 5.0,6
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic,solaris_10
  • CPU: generic,x86,sparc
  • Submitted: 2003-07-30
  • Updated: 2007-09-15
  • Resolved: 2007-09-15
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 6 JDK 7 Other
6u14Fixed 7 b21Fixed OpenJDK6Fixed
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Relates :  
The SunPKCS11 symmetric cipher implementation contain an optimized code path for the engineUpdate(ByteBuffer, ByteBuffer) and engineDoFinal() methods if both the input and the output ByteBuffer are direct buffers. We should consider doing a partial optimization if only one of the two buffers is a direct buffer.

EVALUATION Updated the code so that SunPKCS11 provider can handle ByteBuffer input/output for both direct and non-direct type of byte buffers.

EVALUATION Will investigate post-Tiger. ###@###.### 2003-07-30