[12] 8193822: Remove unused newDirectByteBuffer and truncate methods from buffer classes
Henry Jen
henry.jen at oracle.com
Wed Aug 8 22:36:51 UTC 2018
On Aug 8, 2018, at 1:30 PM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
>
>
>
> On 08/08/2018 21:25, Henry Jen wrote:
>> That’s true, current use case is for Pointer returned from native call but not those allocated with Scope. We will need extra work on this.
>>
>> Just that without this method, I would like to know what other approaches would be possible. This to us is like a direct replacement for JNI NewDirectByteBuffer call.
>>
> Can you add what you need in panama repo after it get sync'ed up from jdk/jdk ?
>
Definitely, I can restore what we needed for now and continue evolve from there.
Cheers,
Henry
More information about the nio-dev
mailing list