[foreign-memaccess] RFR: 8247924: Improve javadoc of Foreign Memory Access API (part two) [v2]

Maurizio Cimadamore mcimadamore at openjdk.java.net
Fri Jun 19 14:03:17 UTC 2020


On Fri, 19 Jun 2020 13:41:42 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> src/jdk.incubator.foreign/share/classes/jdk/incubator/foreign/MemoryLayout.java line 128:
>> 
>>> 127:  * For instance, given the {@code taggedValues} layout instance constructed as above, we can obtain the offset,
>>> 128:  * in bits, of the <em>first</em> member layout named <code>value</code>, as follows:
>>> 129:  * <blockquote><pre>{@code
>> 
>> Shouldn't it say 'the second member layout'? ('kind' is the first)
>
> first in the sequence

I've tried to rectified this in the latest revision, see if that works better

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

PR: https://git.openjdk.java.net/panama-foreign/pull/211


More information about the panama-dev mailing list