diff --git a/src/java.base/share/classes/java/lang/foreign/MemoryLayout.java b/src/java.base/share/classes/java/lang/foreign/MemoryLayout.java index 241cea672e01a..123c5897f26e5 100644 --- a/src/java.base/share/classes/java/lang/foreign/MemoryLayout.java +++ b/src/java.base/share/classes/java/lang/foreign/MemoryLayout.java @@ -830,7 +830,7 @@ public sealed interface MemoryLayout * selected layout and {@code S} is the size of the accessed memory segment. *
  • If the provided layout path has an open path element whose size is {@code S}, * its corresponding trailing {@code long} coordinate value {@code I} must be - * {@code 0 < I < S}, or an {@link IndexOutOfBoundsException} is thrown.
  • + * {@code 0 <= I < S}, or an {@link IndexOutOfBoundsException} is thrown. * * * @apiNote The returned method handle can be used to obtain a memory segment slice,