RFR: 8345186: Incorrect @throws doc for MemorySegment::getString [v2]
Jorn Vernee
jvernee at openjdk.org
Wed Dec 4 14:09:42 UTC 2024
On Tue, 3 Dec 2024 14:38:59 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.
>
> Per Minborg has updated the pull request incrementally with one additional commit since the last revision:
>
> Add back examples of terminator sizes
Marked as reviewed by jvernee (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/22488#pullrequestreview-2478785895
More information about the core-libs-dev
mailing list