[foreign-memaccess+abi] RFR: 8292034: Improve javadoc after memory segment/memory address unification [v2]
Maurizio Cimadamore
mcimadamore at openjdk.org
Thu Sep 22 09:58:02 UTC 2022
On Thu, 22 Sep 2022 07:54:20 GMT, Per Minborg <duke at openjdk.org> wrote:
>> Maurizio Cimadamore has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Replace "alignment constraints" with "alignment constraint", in accordance to what done in `MemorySegment` javadoc
>
> src/java.base/share/classes/java/lang/foreign/MemorySegment.java line 66:
>
>> 64: * <li>A <em>native segment</em> is backed by, and provides access to, a region of memory outside the Java heap (an "off-heap" region).</li>
>> 65: * </ul>
>> 66: * Heap segments can be obtained by calling one of the {@link MemorySegment#ofArray(int[])} factory methods.
>
> There is just one MemorySegment#ofArray(int[]) method. Is there a way of expressing a link to the method reference `MemorySegment::ofArray` (which covers all the overloads)?
not that I know of
-------------
PR: https://git.openjdk.org/panama-foreign/pull/730
More information about the panama-dev
mailing list