mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
8df12d5003
On windows, there are obscure cases where _wstat can return non-zero for a path that actually exists, but the native GetFileAttributes returns valid attributes. This is the case in particular when the user or process doesn't have permissions to access the directory (for instance, anything outside of %temp%\Low, when running as a low-integrity process). This was causing problems with .mkdirs() - which first tries to check if the parent exists, and creates it if it doesn't. In our particular case, the exists() was returning false for the parent, even though it exists, and .mkdir() works fine, mkdirs() fails for the same directory. |
||
---|---|---|
.. | ||
avian | ||
java | ||
sun | ||
java-io.cpp | ||
java-lang.cpp | ||
java-net.cpp | ||
java-nio.cpp | ||
java-util-zip.cpp | ||
java-util.cpp | ||
jni-util.h |