mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8267543: Post JEP 411 refactoring: security
Reviewed-by: mullan
This commit is contained in:
parent
476775808f
commit
40d23a0c0b
19 changed files with 80 additions and 79 deletions
|
@ -683,7 +683,6 @@ public final class JceKeyStore extends KeyStoreSpi {
|
|||
* @exception CertificateException if any of the certificates in the
|
||||
* keystore could not be loaded
|
||||
*/
|
||||
@SuppressWarnings("removal")
|
||||
public void engineLoad(InputStream stream, char[] password)
|
||||
throws IOException, NoSuchAlgorithmException, CertificateException
|
||||
{
|
||||
|
@ -838,7 +837,8 @@ public final class JceKeyStore extends KeyStoreSpi {
|
|||
ois = new ObjectInputStream(dis);
|
||||
final ObjectInputStream ois2 = ois;
|
||||
// Set a deserialization checker
|
||||
AccessController.doPrivileged(
|
||||
@SuppressWarnings("removal")
|
||||
var dummy = AccessController.doPrivileged(
|
||||
(PrivilegedAction<Void>)() -> {
|
||||
ois2.setObjectInputFilter(
|
||||
new DeserializationChecker(fullLength));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue