-
CSR
-
Resolution: Approved
-
P4
-
None
-
behavioral
-
minimal
-
No applications should be depending on the toString() output of a class
-
Java API
-
SE
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
*/
- csr of
-
JDK-8210838 Override javax.crypto.Cipher.toString()
-
- Resolved
-