mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8263658: Use the blessed modifier order in java.base
Reviewed-by: rriggs, redestad
This commit is contained in:
parent
1572f3ccdd
commit
b49c589340
28 changed files with 139 additions and 139 deletions
|
@ -34,7 +34,7 @@ import jdk.internal.misc.VM;
|
|||
*/
|
||||
public class ResourcesMgr {
|
||||
// intended for java.security, javax.security and sun.security resources
|
||||
private final static Map<String, ResourceBundle> bundles = new ConcurrentHashMap<>();
|
||||
private static final Map<String, ResourceBundle> bundles = new ConcurrentHashMap<>();
|
||||
|
||||
public static String getString(String s) {
|
||||
return getBundle("sun.security.util.Resources").getString(s);
|
||||
|
|
|
@ -195,9 +195,9 @@ public class SignatureUtil {
|
|||
}
|
||||
|
||||
public static class EdDSADigestAlgHolder {
|
||||
public final static AlgorithmId sha512;
|
||||
public final static AlgorithmId shake256;
|
||||
public final static AlgorithmId shake256$512;
|
||||
public static final AlgorithmId sha512;
|
||||
public static final AlgorithmId shake256;
|
||||
public static final AlgorithmId shake256$512;
|
||||
|
||||
static {
|
||||
try {
|
||||
|
@ -508,15 +508,15 @@ public class SignatureUtil {
|
|||
|
||||
// Useful PSSParameterSpec objects
|
||||
private static class PSSParamsHolder {
|
||||
final static PSSParameterSpec PSS_256_SPEC = new PSSParameterSpec(
|
||||
static final PSSParameterSpec PSS_256_SPEC = new PSSParameterSpec(
|
||||
"SHA-256", "MGF1",
|
||||
MGF1ParameterSpec.SHA256,
|
||||
32, PSSParameterSpec.TRAILER_FIELD_BC);
|
||||
final static PSSParameterSpec PSS_384_SPEC = new PSSParameterSpec(
|
||||
static final PSSParameterSpec PSS_384_SPEC = new PSSParameterSpec(
|
||||
"SHA-384", "MGF1",
|
||||
MGF1ParameterSpec.SHA384,
|
||||
48, PSSParameterSpec.TRAILER_FIELD_BC);
|
||||
final static PSSParameterSpec PSS_512_SPEC = new PSSParameterSpec(
|
||||
static final PSSParameterSpec PSS_512_SPEC = new PSSParameterSpec(
|
||||
"SHA-512", "MGF1",
|
||||
MGF1ParameterSpec.SHA512,
|
||||
64, PSSParameterSpec.TRAILER_FIELD_BC);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue