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

Brian Burkhalter bpb at openjdk.java.net
Fri May 7 15:46:11 UTC 2021


On Fri, 7 May 2021 12:17:11 GMT, Vyom Tewari <vtewari at openjdk.org> wrote:

>> RandomAccessFile.length() method for block device return always 0
>
> Vyom Tewari has updated the pull request incrementally with one additional commit since the last revision:
> 
>   fixed assigning -1 to uint64_t

Covers updated `FileInputStream` as well (JDK-8264777).

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

Marked as reviewed by bpb (Reviewer).

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


More information about the core-libs-dev mailing list