mirror of
https://github.com/corda/corda.git
synced 2025-01-08 14:03:06 +00:00
Instead of throwing exception, just return initial file name
This commit is contained in:
parent
74c9f60b98
commit
c3b437a381
@ -240,8 +240,8 @@ Java_java_io_File_toAbsolutePath(JNIEnv* e UNUSED, jclass, jstring path)
|
|||||||
|
|
||||||
return path;
|
return path;
|
||||||
# else
|
# else
|
||||||
// WinRT has no concept of full paths
|
// WinRT has no concept of full paths, so any file
|
||||||
throwNewErrno(e, "java/io/IOException");
|
// accessed should already have full path, or it has explicit origin
|
||||||
return path;
|
return path;
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user