[12] 8193822: Remove unused newDirectByteBuffer and truncate methods from buffer classes
Paul Sandoz
paul.sandoz at oracle.com
Wed Aug 8 18:32:47 UTC 2018
I think the case of going from Pointer -> ByteBuffer will require more work because of scoping e.g. what if the Pointer goes out of scope freeing up the memory but the ByteBuffer is still being used?
Paul.
> On Aug 8, 2018, at 11:28 AM, Brian Burkhalter <brian.burkhalter at oracle.com> wrote:
>
> Not that I know of. If we need to put it back we need a new issue and I’ll take care of it. Sorry for the complication.
>
> Brian
>
> On Aug 8, 2018, at 10:24 AM, Henry Jen <henry.jen at oracle.com <mailto:henry.jen at oracle.com>> wrote:
>
>> I actually used this method in panama, is there a replacement? Line 194 at
>>
>> http://hg.openjdk.java.net/panama/dev/file/d7a12ed2faf9/src/java.base/share/classes/java/foreign/memory/Pointer.java <http://hg.openjdk.java.net/panama/dev/file/d7a12ed2faf9/src/java.base/share/classes/java/foreign/memory/Pointer.java>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20180808/dbf68113/attachment.html>
More information about the nio-dev
mailing list