The fix for JDK-8266610 includes a Linux specific header file in code that is built on non-Linux platforms.
#if defined(__linux__) || defined(_ALLBSD_SOURCE) || defined(_AIX)
#include <sys/ioctl.h>
#include <linux/fs.h>
#if defined(__linux__) || defined(_ALLBSD_SOURCE) || defined(_AIX)
#include <sys/ioctl.h>
#include <linux/fs.h>
- relates to
-
JDK-8266610 Method RandomAccessFile#length() returns 0 for block devices on linux.
-
- Closed
-