[9] RFR of 8087288: File.get{Free, Total, Usable}Space may return unexpected results with >2TB file systems

Alan Bateman Alan.Bateman at oracle.com
Fri Jun 12 19:29:24 UTC 2015


On 12/06/2015 01:30, Brian Burkhalter wrote:
> Please review at your convenience:
>
> Issue:	https://bugs.openjdk.java.net/browse/JDK-8087288
> Patch:	http://cr.openjdk.java.net/~bpb/8087288/webrev.00/
>
> The root cause of this problem is essentially the same as that of https://bugs.openjdk.java.net/browse/JDK-8081843 and the proposed fix is likewise similar: on Mac OS X replace statvfs64() and struct statvfs64 with statfs() and struct statfs, respectively, and f_frsize with f_bsize.
>
This looks okay to me. Maybe someday we can come these methods to use 
the new file system API and remove these native methods.

-Alan



More information about the core-libs-dev mailing list