[jdk20] RFR: 8299090: Specify coordinate order for additional CaptureCallState parameters on class as well [v2]

Maurizio Cimadamore mcimadamore at openjdk.org
Wed Jan 11 13:36:12 UTC 2023


On Wed, 11 Jan 2023 13:17:53 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

>> A small doc clarification that also specifies where the additional MemorySegment parameter of a downcall method handle linked with the captureCallState option appears in the parameter list, on the CaptureCallState class.
>
> Jorn Vernee has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Mention SegmentAllocator parameter as well

Marked as reviewed by mcimadamore (Reviewer).

src/java.base/share/classes/java/lang/foreign/Linker.java line 306:

> 304:          * <p>
> 305:          * A downcall method handle linked with this option will feature an additional {@link MemorySegment}
> 306:          * parameter directly following the target address, and optional SegmentAllocator parameters.

use `{@code}` or `{@link}` for SegmentAllocator

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

PR: https://git.openjdk.org/jdk20/pull/95


More information about the core-libs-dev mailing list