src/java.base/share/native/libjava/FileInputStream.c
Print this page
rev 10519 : 8054720: Modifications of I/O methods for instrumentation purposes
Summary: Wrap some native methods in Java methods.
Reviewed-by: TBD
*** 55,65 ****
/**************************************************************
* Input stream
*/
JNIEXPORT void JNICALL
! Java_java_io_FileInputStream_open(JNIEnv *env, jobject this, jstring path) {
fileOpen(env, this, path, fis_fd, O_RDONLY);
}
JNIEXPORT jint JNICALL
Java_java_io_FileInputStream_read0(JNIEnv *env, jobject this) {
--- 55,65 ----
/**************************************************************
* Input stream
*/
JNIEXPORT void JNICALL
! Java_java_io_FileInputStream_open0(JNIEnv *env, jobject this, jstring path) {
fileOpen(env, this, path, fis_fd, O_RDONLY);
}
JNIEXPORT jint JNICALL
Java_java_io_FileInputStream_read0(JNIEnv *env, jobject this) {