Details
-
Type:
CSR
-
Status: Closed
-
Priority:
P4
-
Resolution: Approved
-
Fix Version/s: 12
-
Component/s: security-libs
-
Labels:None
-
Subcomponent:
-
Compatibility Kind:behavioral
-
Compatibility Risk:minimal
-
Compatibility Risk Description:No applications should be depending on the toString() output of a class
-
Interface Kind:Java API
-
Scope:SE
Description
Summary
Override javax.crypto.Cipher.toString() to provide a user friendly string describing the Cipher
Problem
Current output inherits Object.toString and is not too informative
Solution
Override toString() in Cipher class
Specification
/**
* Returns a String representation of this Cipher.
*
* @implNote
* This implementation returns a String containing the transformation,
* mode, and provider of this Cipher.
* The exact format of the String is unspecified and is subject to change.
*
* @return a String describing this Cipher
*/
Attachments
Issue Links
- csr of
-
JDK-8210838 Override javax.crypto.Cipher.toString()
-
- Resolved
-