8276348: Use blessed modifier order in java.base

Reviewed-by: dfuchs, darcy, iris, rriggs, martin
This commit is contained in:
Pavel Rappo 2021-11-03 10:07:48 +00:00
parent 465d350d0b
commit 615063364a
21 changed files with 39 additions and 39 deletions

View file

@ -888,7 +888,7 @@ public class FileChannelImpl
// -- Memory-mapped buffers --
private static abstract class Unmapper
private abstract static class Unmapper
implements Runnable, UnmapperProxy
{
// may be required to close file

View file

@ -71,7 +71,7 @@ public final class ProviderList {
static final ProviderList EMPTY = new ProviderList(PC0, true);
// list of all jdk.security.provider.preferred entries
static private PreferredList preferredPropList = null;
private static PreferredList preferredPropList = null;
// dummy provider object to use during initialization
// used to avoid explicit null checks in various places

View file

@ -60,12 +60,12 @@ public final class RSAPrivateKeyImpl extends PKCS8Key implements RSAPrivateKey {
private final BigInteger n; // modulus
private final BigInteger d; // private exponent
private transient final KeyType type;
private final transient KeyType type;
// optional parameters associated with this RSA key
// specified in the encoding of its AlgorithmId.
// must be null for "RSA" keys.
private transient final AlgorithmParameterSpec keyParams;
private final transient AlgorithmParameterSpec keyParams;
/**
* Construct a key from its components. Used by the

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2006, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2006, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -550,7 +550,7 @@ enum SSLHandshake implements SSLConsumer, HandshakeProducer {
/**
* A (transparent) specification of handshake message.
*/
static abstract class HandshakeMessage {
abstract static class HandshakeMessage {
final HandshakeContext handshakeContext;
HandshakeMessage(HandshakeContext handshakeContext) {