mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +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;
|
||||
# else
|
||||
// WinRT has no concept of full paths
|
||||
throwNewErrno(e, "java/io/IOException");
|
||||
// WinRT has no concept of full paths, so any file
|
||||
// accessed should already have full path, or it has explicit origin
|
||||
return path;
|
||||
# endif
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user