On May 18, 2018, at 7:40 AM, Alan Bateman <[email protected]> wrote:
>> The offset in the string comparison is necessary as “C:\\pagefile.sys” >> becomes “pagefile.sys” in fileData.cFileName. I’m not certain that this will >> work in all cases however but it is certainly no worse than before. >> > Can the call to _wstati64 be removed? That is, if GetFileAttributesExW fails > with a sharing violation then just use FindFirstFileW as the fallback. Had not tried that yet but I will. Thanks, Brian PS A proposed fix for https://bugs.openjdk.java.net/browse/JDK-8201407 should be forthcoming later today.
