RFR: JDK-8266797: Fix for 8266610 breaks the build on macos
Vyom Tewari
vtewari at openjdk.java.net
Mon May 10 13:34:56 UTC 2021
On Mon, 10 May 2021 09:50:44 GMT, Aleksey Shipilev <shade 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 39:
>
>> 37: #if defined(__linux__)
>> 38: #include <linux/fs.h>
>> 39: #include <sys/stat.h>
>
> Does Mac OS need `sys/stat.h`, though?
No, change is specific to Linux. Please see(https://github.com/openjdk/jdk/commit/69b96f9a1b4a959c6b86f41c2259d9e4d47c8ede).
-------------
PR: https://git.openjdk.java.net/jdk/pull/3943
More information about the core-libs-dev
mailing list