mirror of
https://github.com/corda/corda.git
synced 2025-06-22 17:09:00 +00:00
File.length should return 0 for non-existent files
This commit is contained in:
@ -331,7 +331,7 @@ Java_java_io_File_length(JNIEnv* e, jclass, jstring path)
|
||||
}
|
||||
}
|
||||
|
||||
return -1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
extern "C" JNIEXPORT void JNICALL
|
||||
|
Reference in New Issue
Block a user