RFR: 8274548: (fc) FileChannel gathering write fails with IOException "Invalid argument" on macOS 11.6 [v6]
Brian Burkhalter
bpb at openjdk.java.net
Mon Oct 11 16:50:09 UTC 2021
On Mon, 11 Oct 2021 16:03:10 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> I'm find with dropping the OS version check on macOS and removing the Darwin version function.
>>
>> I also noticed the inconsistency in the APPLE and MACOSX symbolic constants. There's also another one like ALL_BSD_SOURCE. I don't know whether we consider that redundant as well.
>
>> I'm find with dropping the OS version check on macOS and removing the Darwin version function.
>
> I think it will align with the man page and remove any questions as to why this is macOS version specific.
>
>
>> I also noticed the inconsistency in the APPLE and MACOSX symbolic constants. There's also another one like ALL_BSD_SOURCE. I don't know whether we consider that redundant as well.
>
> We can look at this in a separate issue.
... and dropping the OS version check leaves fewer moving parts.
On the conditional compilation symbolic constants I filed JDK-8275070.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5831
More information about the nio-dev
mailing list