[foreign-memaccess+abi] RFR: Fix javadoc issues in MemorySegment::copy [v2]

Jorn Vernee jvernee at openjdk.org
Wed Sep 6 12:10:03 UTC 2023


On Wed, 6 Sep 2023 11:45:38 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> This PR fixes few issues in the specification of `MemorySegment::copy`:
>> 
>> * in some code snippets `srcSegment` and `dstSegment` is followed by parenthesis (e.g. like a method call)
>> * the more general segment-to-segment `MemorySegment::copy` overload is missing a `throws` clause for when src segment is out of bounds
>> * the less general segment-to-segment `MemorySegment::copy` could use some splitting of its `throws` clauses, to make it more consistent with other methods
>
> Maurizio Cimadamore has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Split javadoc throws

Marked as reviewed by jvernee (Committer).

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

PR Review: https://git.openjdk.org/panama-foreign/pull/879#pullrequestreview-1613175432


More information about the panama-dev mailing list