src/windows/native/java/io/io_util_md.c

Print this page

        

*** 249,264 **** flagsAndAttributes, /* flags and attributes */ NULL); free(pathbuf); if (h == INVALID_HANDLE_VALUE) { - int error = GetLastError(); - if (error == ERROR_TOO_MANY_OPEN_FILES) { - JNU_ThrowByName(env, JNU_JAVAIOPKG "IOException", - "Too many open files"); - return -1; - } throwFileNotFoundException(env, path); return -1; } return (jlong) h; } --- 249,258 ----