RFR: JDK-8266797: Fix for 8266610 breaks the build on macos

Vyom Tewari vtewari at openjdk.java.net
Mon May 10 13:34:59 UTC 2021


On Mon, 10 May 2021 10:59:37 GMT, Vyom Tewari <vtewari at openjdk.org> wrote:

>> I think Vymon took the code from FileDispatcherImpl_size0, which has been compiling on macOS without issues. I don't mind if we fix the issue with this PR or just back it out and fix it with another PR.
>
> I am not the Mac expert, but i checked on my MacOS Laptop and i did not found "BLKGETSIZE64" defined in sys/stat.h.
> As Alan already told that i  took the code from FileDispatcherImpl.size0 and followed the same pattern.

I will fix in this PR only. i will do the changes for only "io_util_md.c".

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

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


More information about the core-libs-dev mailing list