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

Vyom Tewari vtewari at openjdk.java.net
Mon May 10 13:35:03 UTC 2021


On Mon, 10 May 2021 11:26:30 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> this change will  include  the below headers files to Linux only. 
>> #include <linux/fs.h>
>> #include <sys/stat.h>
>
> src/java.base/unix/native/libjava/io_util_md.c line 256:
> 
>> 254:         return -1;
>> 255:     }
>> 256:     #if defined(__linux__) && defined(BLKGETSIZE64)
> 
> Looks okay although would be good to fix the indentation at L256 before you integrate.

done fixed the indentation

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

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


More information about the core-libs-dev mailing list