Relates :
|
|
Relates :
|
|
Relates :
|
KeyStore#getInstance(File, LoadStoreParameter) method still does not throw IOException with the custom LoadStoreParameter that has a PasswordProtection with a wrong password. Please see the simple ���ready-to-run��� test case that I tested with JDK 10 b36 which still does not throw IOException with custom LoadStoreParameter when given a wrong password. Please place the java file and the jck_keystore.pkcs12 keystore in a directory, go to the directory , compile the java file and ��� Run ���java -cp . KeyStoreCustomLoadParamBug . load��� it will not throw IOException ��� Run ���java -cp . KeyStoreCustomLoadParamBug . noload��� it will throw IOException Test case throws ���IOException��� without a LoadStoreParameter as expected however it does not throw IOException with custom LoadStoreParameter
|