[foreign-jextract] RFR: 8264187: Add a method for creating a slicing MethodHandle [v2]

Jorn Vernee jvernee at openjdk.java.net
Fri Mar 26 15:42:01 UTC 2021


On Fri, 26 Mar 2021 15:32:41 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> Jorn Vernee has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Address review comments
>
> src/jdk.incubator.foreign/share/classes/jdk/incubator/foreign/MemoryLayout.java line 500:
> 
>> 498: 
>> 499:     /**
>> 500:      * Creates a method handle which, given a memory segment, returns a {@link MemorySegment#asSlice(long,long)}
> 
> Suggestion:
> 
>      * Creates a method handle which, given a memory segment, returns a {@link MemorySegment#asSlice(long,long) slice}

I tried this, but it doesn't seem to show up in the javadoc

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

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


More information about the panama-dev mailing list