Instead of throwing exception, just return initial file name

This commit is contained in:
Alexey Pelykh 2013-02-01 16:36:29 +02:00
parent 74c9f60b98
commit c3b437a381

View File

@ -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