[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:36:30 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:
>> 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
Ah, no wait it does. I was looking in the wrong place :)
-------------
PR: https://git.openjdk.java.net/panama-foreign/pull/477
More information about the panama-dev
mailing list