On line 83 of EncodedKeySpec, call algorithm.isEmpty() instead. Looks good otherwise.
--Sean On 09/10/2014 07:14 PM, Jason Uh wrote:
Please review this change, which adds a constructor taking an algorithm name parameter to EncodedKeySpec and its subclasses. This allows the algorithm name to be retrieved in subsequent calls to the EncodedKeySpec. webrev: http://cr.openjdk.java.net/~juh/8047223/webrev.01/ https://bugs.openjdk.java.net/browse/JDK-8047223 Thanks, Jason