RFR: 8246005: KeyStoreSpi::engineStore(LoadStoreParameter) spec mismatch t…
Xue-Lei Andrew Fan
xuelei at openjdk.java.net
Tue Dec 8 18:13:07 UTC 2020
On Tue, 8 Dec 2020 17:52:34 GMT, Hai-May Chao <hchao at openjdk.org> wrote:
> This is a spec change with noreg-doc label.
src/java.base/share/classes/java/security/KeyStoreSpi.java line 319:
> 317: * @throws CertificateException if any of the certificates included in
> 318: * the keystore data could not be stored
> 319: * @throws UnsupportedOperationException if this method is not supported
We might be able to get it more clear about the behavior. For example, adding an implSpec tag, like:
* @implSpec The default implementation throws
* an {@link UnsupportedOperationException}.
...
* @throws UnsupportedOperationException if the implementation
* has not overridden this method
-------------
PR: https://git.openjdk.java.net/jdk/pull/1701
More information about the security-dev
mailing list