8236671: NullPointerException in JKS keystore

Reviewed-by: hchao, xuelei
This commit is contained in:
Sean Coffey 2021-04-30 09:32:40 +00:00
parent e9370a13b6
commit 276a1bf767
3 changed files with 17 additions and 3 deletions

View file

@ -293,7 +293,7 @@ public final class JceKeyStore extends KeyStoreSpi {
}
} catch (Exception e) {
throw new KeyStoreException(e.getMessage());
throw new KeyStoreException(e.getMessage(), e);
}
}
}