[foreign-jextract] RFR: Improve NIO channel support for buffer views over segments

Chris Hegarty chegar at openjdk.java.net
Wed Apr 21 15:37:29 UTC 2021


On Wed, 21 Apr 2021 15:10:04 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> Initial prototype changes to use resource scope handles when performing I/O operations with synchronous and asynchronous channels.
>
> src/jdk.incubator.foreign/share/classes/jdk/internal/foreign/ResourceScopeImpl.java line 56:
> 
>> 54: 
>> 55:     @Override
>> 56:     public abstract Handle acquire();
> 
> Is this really required?

No needed, removed (a hangover from a prior iteration)

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

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


More information about the panama-dev mailing list