| 547 | } |
| 548 | |
| 549 | extern "C" JNIEXPORT jboolean JNICALL |
| 550 | Java_java_io_File_exists(JNIEnv* e, jclass, jstring path) |
| 551 | { |
| 552 | string_t chars = getChars(e, path); |
| 553 | if (chars) { |
| 554 | bool v = exists(chars); |
| 555 | releaseChars(e, path, chars); |
| 556 | return v; |
| 557 | } else { |
| 558 | return false; |
| 559 | } |
| 560 | } |
| 561 | |
| 562 | extern "C" JNIEXPORT jlong JNICALL |
| 563 | Java_java_io_File_lastModified(JNIEnv* e, jclass, jstring path) |
nothing calls this directly
no test coverage detected