Nice catch! Looks fine to me.
On 10/13/2016 6:33 PM, Vincent Ryan wrote:
Please review this fix to add a check to the default implementation of KeyStore
setEntry and getEntry (in KeyStoreSpi).
An exception is thrown if a password protection algorithm is specified. An
existing test has been updated to validate the fix.
Keystore implementations that support a user-supplied password protection
algorithm override the default implementation
of these setEntry/getEntry methods and are unaffected by this fix.