Hi Brian!

I wonder if FileSystem.getLength() will start to return the file size when the file name contains wildcards?

Maybe it is better to compare fileData.cFileName with the pathbuf to make sure we're dealing with the correct file?

With kind regards,
Ivan


On 5/16/18 2:37 PM, Brian Burkhalter wrote:
https://bugs.openjdk.java.net/browse/JDK-8202076
http://cr.openjdk.java.net/~bpb/8202076/webrev.00/

If all else fails, obtain the file length via the FindFirstFileW function [1].

Thanks,

Brian

[1] 
https://msdn.microsoft.com/en-us/library/windows/desktop/aa364418(v=vs.85).aspx

--
With kind regards,
Ivan Gerasimov

Reply via email to