[12] 8193822: Remove unused newDirectByteBuffer and truncate methods from buffer classes

Alan Bateman Alan.Bateman at oracle.com
Wed Aug 8 20:30:30 UTC 2018



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 ?

-Alan


More information about the nio-dev mailing list