mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8130799: KeyStoreSpi.engineProbe does not throw the expected NullPointerException
Reviewed-by: xuelei
This commit is contained in:
parent
f32b9d1944
commit
68703f6458
1 changed files with 4 additions and 1 deletions
|
@ -618,9 +618,12 @@ public abstract class KeyStoreSpi {
|
|||
* @throws IOException if there is an I/O problem with the keystore data.
|
||||
* @throws NullPointerException if stream is {@code null}.
|
||||
*
|
||||
* @since 1.9
|
||||
* @since 9
|
||||
*/
|
||||
public boolean engineProbe(InputStream stream) throws IOException {
|
||||
if (stream == null) {
|
||||
throw new NullPointerException("input stream must not be null");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue