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

@ -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