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

Alan Bateman alanb at openjdk.java.net
Mon May 10 13:35:02 UTC 2021


On Mon, 10 May 2021 06:34:36 GMT, Vyom Tewari <vtewari 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.

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

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


More information about the core-libs-dev mailing list