summaryrefslogtreecommitdiff
path: root/native/jni
diff options
context:
space:
mode:
authorPatrik Reali <patrik@reali.ch>2004-07-31 16:07:20 +0000
committerPatrik Reali <patrik@reali.ch>2004-07-31 16:07:20 +0000
commita514379815b96e7a6735a9ecaed84c7d6ac0fff3 (patch)
treea0348fd9e08624059785a5d9e05afae557988873 /native/jni
parent4c06e4bf41943a9363fa4796ba8b4046123f8522 (diff)
downloadclasspath-a514379815b96e7a6735a9ecaed84c7d6ac0fff3.tar.gz
native method moved from gnu/java/nio/SelectorImpl to vm/reference/gnu/java/nio/VMSelector
Diffstat (limited to 'native/jni')
-rw-r--r--native/jni/java-nio/Makefile.am2
-rw-r--r--native/jni/java-nio/gnu_java_nio_VMSelector.c (renamed from native/jni/java-nio/gnu_java_nio_SelectorImpl.c)8
2 files changed, 5 insertions, 5 deletions
diff --git a/native/jni/java-nio/Makefile.am b/native/jni/java-nio/Makefile.am
index d04049f5e..1e8dac90f 100644
--- a/native/jni/java-nio/Makefile.am
+++ b/native/jni/java-nio/Makefile.am
@@ -2,7 +2,7 @@ pkglib_LTLIBRARIES = libjavanio.la
libjavanio_la_SOURCES = gnu_java_nio_NIOServerSocket.c \
gnu_java_nio_VMPipe.c \
- gnu_java_nio_SelectorImpl.c \
+ gnu_java_nio_VMSelector.c \
gnu_java_nio_channels_FileChannelImpl.c \
java_nio_DirectByteBufferImpl.c \
java_nio_MappedByteBufferImpl.c \
diff --git a/native/jni/java-nio/gnu_java_nio_SelectorImpl.c b/native/jni/java-nio/gnu_java_nio_VMSelector.c
index f33f892d9..b1d8cb711 100644
--- a/native/jni/java-nio/gnu_java_nio_SelectorImpl.c
+++ b/native/jni/java-nio/gnu_java_nio_VMSelector.c
@@ -1,4 +1,4 @@
-/* gnu_java_nio_SelectorImpl.c - Native methods for SelectorImpl class
+/* gnu_java_nio_VMSelector.c - Native methods for SelectorImpl class
Copyright (C) 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -41,16 +41,16 @@ exception statement from your version. */
#include <jni.h>
#include <jcl.h>
-#include "gnu_java_nio_SelectorImpl.h"
+#include "gnu_java_nio_VMSelector.h"
#define IO_EXCEPTION "java/io/IOException"
JNIEXPORT jint JNICALL
-Java_gnu_java_nio_SelectorImpl_implSelect (JNIEnv *env, jclass obj,
+Java_gnu_java_nio_VMSelector_select (JNIEnv *env, jclass obj,
jintArray read, jintArray write,
jintArray except, jlong timeout)
{
- JCL_ThrowException (env, IO_EXCEPTION, "gnu.java.nio.SelectorImpl.implSelect(): not implemented");
+ JCL_ThrowException (env, IO_EXCEPTION, "gnu.java.nio.VMSelector.select(): not implemented");
return 0;
}