On Wed, 13 Apr 2022 16:12:31 GMT, Alan Bateman <al...@openjdk.org> wrote:

>> Maurizio Cimadamore has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   Add @ForceInline annotation on session accessor
>>   Beef up UnrolledAccess benchmark
>
> src/java.base/share/classes/java/nio/channels/FileChannel.java line 1052:
> 
>> 1050:     public MemorySegment map(MapMode mode, long offset, long size,
>> 1051:                                       MemorySession session)
>> 1052:             throws IOException, UnsupportedOperationException
> 
> Just a minor here is that UOE is a runtime exception so probably shouldn't be 
> in the throws.

whoops - good catch - will fix!

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

PR: https://git.openjdk.java.net/jdk/pull/7888

Reply via email to