Integrated: 8345186: Incorrect @throws doc for MemorySegment::getString

Per Minborg pminborg at openjdk.org
Wed Dec 4 14:19:42 UTC 2024


On Mon, 2 Dec 2024 14:08:14 GMT, Per Minborg <pminborg at openjdk.org> wrote:

> This PR proposes to correct errors in the `MemorySegment::getString` documentation.
> 
> There is a test in https://github.com/openjdk/jdk/pull/22451/files#diff-13a3535a65f1e0664e98bd2584196eb9d9a0ada951fd2dabfac8a484263235d8R271 that actually tests an Exception with the correct message is thrown if no null terminator can be found.

This pull request has now been integrated.

Changeset: 39cdadfb
Author:    Per Minborg <pminborg at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/39cdadfb6ac8db7c84cf3259802d1f6ab26df8bf
Stats:     11 lines in 1 file changed: 0 ins; 3 del; 8 mod

8345186: Incorrect @throws doc for MemorySegment::getString

Reviewed-by: mcimadamore, jvernee

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

PR: https://git.openjdk.org/jdk/pull/22488


More information about the core-libs-dev mailing list