8202076: test/jdk/java/io/File/WinSpecialFiles.java on windows with VS2017

Ivan Gerasimov ivan.gerasimov at oracle.com
Wed May 16 21:54:35 UTC 2018


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



More information about the core-libs-dev mailing list