[foreign-memaccess+abi] RFR: 8305369: Issues in zero-length memory segment javadoc section

Maurizio Cimadamore mcimadamore at openjdk.org
Fri Mar 31 10:51:26 UTC 2023


On Fri, 31 Mar 2023 10:44:42 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> This patch addresses a number of issue in the zero-length memory segment javadoc section:
> 
> * there are some typo in the code samples (e.g. extra semi-colons);
> * variable names are off (e.g. spurious references to a `foreign` segment variable);
> * the explanation of how a pointer is read from a segment is lacking, and could be clarified;
> * it would be useful to have links to other section (e.g. in the Linker javadoc) which also deal with ZLMS.

Javadoc including changes in this PR can be found here: https://cr.openjdk.org/~mcimadamore/panama/zero_length_javadoc/javadoc/java.base/java/lang/foreign/MemorySegment.html#wrapping-addresses

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

PR Comment: https://git.openjdk.org/panama-foreign/pull/825#issuecomment-1491724426


More information about the panama-dev mailing list