8274075: Fix miscellaneous typos in java.base

Reviewed-by: dfuchs, darcy, iris, lancea, bpb
This commit is contained in:
Pavel Rappo 2021-09-23 08:08:39 +00:00
parent 8b833bbea8
commit 8799856528
9 changed files with 25 additions and 26 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2020, 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
@ -55,7 +55,7 @@ final class LambdaProxyClassArchive {
/**
* Registers the lambdaProxyClass into CDS archive.
* The VM will store the lambdaProxyClass into a hash table
* using the first six argumennts as the key.
* using the first six arguments as the key.
*
* CDS only archives lambda proxy class if it's not serializable
* and no marker interfaces and no additional bridges, and if it is

View file

@ -4421,7 +4421,7 @@ return mh1;
* <p>
* Misaligned access, and therefore atomicity guarantees, may be determined
* for {@code byte[]} arrays without operating on a specific array. Given
* an {@code index}, {@code T} and it's corresponding boxed type,
* an {@code index}, {@code T} and its corresponding boxed type,
* {@code T_BOX}, misalignment may be determined as follows:
* <pre>{@code
* int sizeOfT = T_BOX.BYTES; // size in bytes of T
@ -4508,7 +4508,7 @@ return mh1;
* <p>
* Misaligned access, and therefore atomicity guarantees, may be determined
* for a {@code ByteBuffer}, {@code bb} (direct or otherwise), an
* {@code index}, {@code T} and it's corresponding boxed type,
* {@code index}, {@code T} and its corresponding boxed type,
* {@code T_BOX}, as follows:
* <pre>{@code
* int sizeOfT = T_BOX.BYTES; // size in bytes of T