RFR: 8274112: (fc) Tune FileChannel.transferTo() [v2]
Brian Burkhalter
bpb at openjdk.java.net
Wed Sep 22 21:27:56 UTC 2021
On Wed, 22 Sep 2021 13:30:26 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>>
>> 8274112: Refactor to use transferToFileChannel()
>
> src/java.base/share/classes/sun/nio/ch/IOStatus.java line 42:
>
>> 40: @Native public static final int THROWN = -5; // Exception thrown in JNI code
>> 41: @Native public static final int UNSUPPORTED_CASE = -6; // This case not supported
>> 42: @Native public static final int UNSUPPORTED_SUBCASE = -7; // This subcase not supported
>
> I think it's way too confusing to introduce an "unsupported subclass", I think we need to find a better solution for this.
Removed `IOStatus.UNSUPPORTED_SUBCASE` in second commit.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5623
More information about the nio-dev
mailing list