8214100: use of keystore probing results in unnecessary exception thrown

Reviewed-by: mullan
This commit is contained in:
Weijun Wang 2018-11-27 08:51:20 +08:00
parent 52664cb14a
commit b1c4b461f1
4 changed files with 293 additions and 21 deletions

View file

@ -1813,8 +1813,8 @@ public class KeyStore {
}
}
throw new KeyStoreException("Unrecognized keystore format: " +
keystore);
throw new KeyStoreException("This keystore does not support probing "
+ "and must be loaded with a specified type");
}
/**