mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8251548: Remove unnecessary explicit initialization of volatile variables in security-libs code
Reviewed-by: mullan
This commit is contained in:
parent
d35b117956
commit
f55dd9d40e
8 changed files with 17 additions and 17 deletions
|
@ -219,7 +219,7 @@ public class KeyStore {
|
|||
private KeyStoreSpi keyStoreSpi;
|
||||
|
||||
// Has this keystore been initialized (loaded)?
|
||||
private boolean initialized = false;
|
||||
private boolean initialized;
|
||||
|
||||
/**
|
||||
* A marker interface for {@code KeyStore}
|
||||
|
@ -264,7 +264,7 @@ public class KeyStore {
|
|||
private final char[] password;
|
||||
private final String protectionAlgorithm;
|
||||
private final AlgorithmParameterSpec protectionParameters;
|
||||
private volatile boolean destroyed = false;
|
||||
private volatile boolean destroyed;
|
||||
|
||||
/**
|
||||
* Creates a password parameter.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue