[foreign-memaccess+abi] Integrated: Fix javadoc issues in MemorySegment::copy
Maurizio Cimadamore
mcimadamore at openjdk.org
Wed Sep 6 12:38:07 UTC 2023
On Wed, 6 Sep 2023 11:22:09 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
This pull request has now been integrated.
Changeset: bde83d25
Author: Maurizio Cimadamore <mcimadamore at openjdk.org>
URL: https://git.openjdk.org/panama-foreign/commit/bde83d25f29d710b3763f7ffb54cc39d21998731
Stats: 8 lines in 1 file changed: 2 ins; 0 del; 6 mod
Fix javadoc issues in MemorySegment::copy
Reviewed-by: jvernee
-------------
PR: https://git.openjdk.org/panama-foreign/pull/879
More information about the panama-dev
mailing list