mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8344310: Remove Security Manager dependencies from javax.crypto and com.sun.crypto packages
Reviewed-by: jpai, ascarpino
This commit is contained in:
parent
92271af635
commit
de6e013e0e
7 changed files with 29 additions and 101 deletions
|
@ -56,14 +56,8 @@ extends KeyAgreementSpi {
|
|||
|
||||
private static class AllowKDF {
|
||||
|
||||
private static final boolean VALUE = getValue();
|
||||
|
||||
@SuppressWarnings("removal")
|
||||
private static boolean getValue() {
|
||||
return AccessController.doPrivileged(
|
||||
(PrivilegedAction<Boolean>)
|
||||
() -> Boolean.getBoolean("jdk.crypto.KeyAgreement.legacyKDF"));
|
||||
}
|
||||
private static final boolean VALUE =
|
||||
Boolean.getBoolean("jdk.crypto.KeyAgreement.legacyKDF");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue