RFR: 8266610: Method RandomAccessFile#length() returns 0 for block devices on linux. [v2]

Alan Bateman alanb at openjdk.java.net
Sun May 9 06:28:15 UTC 2021


On Sun, 9 May 2021 03:38:49 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.

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

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


More information about the core-libs-dev mailing list