On Thu, 2 Nov 2023 07:40:52 GMT, Per Minborg <pminb...@openjdk.org> wrote:

> This PR proposes to fix a number of JavaDoc typos in the 
> `MemorySegment::getAtIndex` and `::setAtIndex`.

src/java.base/share/classes/java/lang/foreign/MemorySegment.java line 1997:

> 1995:      * @throws IndexOutOfBoundsException if {@code index * 
> layout.byteSize() > byteSize() - layout.byteSize()}.
> 1996:      */
> 1997:     MemorySegment getAtIndex(AddressLayout layout, long index);

I think the fix for `setAtIndex(AddressLayout)` is missing?

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/16469#discussion_r1379958626

Reply via email to