RFR: 8266610: Method RandomAccessFile#length() returns 0 for block devices on linux. [v2]
David Holmes
dholmes at openjdk.java.net
Mon May 10 04:46:00 UTC 2021
On Mon, 10 May 2021 03:48:43 GMT, Vyom Tewari <vtewari at openjdk.org> wrote:
>>> Could required os = linux added for test/jdk/java/nio/channels/FileChannel/BlockDeviceSize.java? As it is decribed only run as linux.
>>
>> Yes, good idea. Also maybe we can see about changing it to avoid the dependency on /dev/sda1.
>
>> Could required os = linux added for test/jdk/java/nio/channels/FileChannel/BlockDeviceSize.java? As it is decribed only run as linux.
>
> Sure, this is separate issue(https://bugs.openjdk.java.net/browse/JDK-8150539). We will fix it separately.
@vyommani this has broken the build on macos as you are including a linux specific header file in non-linux code! Please backout or fix ASAP. Thanks.
-------------
PR: https://git.openjdk.java.net/jdk/pull/3914
More information about the core-libs-dev
mailing list