FULL PRODUCT VERSION : A DESCRIPTION OF THE PROBLEM : Invoking sun.nio.fs.UnixDirectoryStream.closeImpl in certain situation yields "java.io.IOException: Unknown error 18446744073709551615". This stems from the error in native function Java_sun_nio_fs_UnixNativeDispatcher_closedir: RESTARTABLE(closedir(dirp), err); if (errno == -1) { throwUnixException(env, errno); } should be rewritten as RESTARTABLE(closedir(dirp), err); if (err == -1) { throwUnixException(env, errno); } with err instead of errno. REPRODUCIBILITY : This bug can be reproduced always.
|