-
Bug
-
Resolution: Fixed
-
P3
-
22, 23
-
b27
The `MemorySegment::getString` overloads have an incorrect specification for
@throws IndexOutOfBoundsException if {@code offset > byteSize() - (B + N)}, where:
Instead, an IOOBE should be thrown if no null terminator is found in the region specified.
@throws IndexOutOfBoundsException if {@code offset > byteSize() - (B + N)}, where:
Instead, an IOOBE should be thrown if no null terminator is found in the region specified.
- csr for
-
JDK-8345300 Incorrect @throws doc for MemorySegment::getString
-
- Closed
-
- links to
-
Commit(master) openjdk/jdk/39cdadfb
-
Review(master) openjdk/jdk/22488