summaryrefslogtreecommitdiff
path: root/native
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2004-04-18 15:41:16 +0000
committerMark Wielaard <mark@klomp.org>2004-04-18 15:41:16 +0000
commit5f5c03407979f201c0de650a73680536bcdd1c82 (patch)
tree937f2f4f01931cc1a32b545f126adbc25c92f362 /native
parent27599f885ea4ccb1eefae0f64603085c348c2eca (diff)
downloadclasspath-5f5c03407979f201c0de650a73680536bcdd1c82.tar.gz
* include/Makefile.am: Remove java_nio_FileLockImpl.h generation.
* include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h: Regenerate. * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h: Regenerate. * include/gnu_java_nio_FileLockImpl.h: Removed. * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): Removed java_nio_FileLockImpl.c. * native/jni/java-nio/java_nio_FileLockImpl.c: Removed.
Diffstat (limited to 'native')
-rw-r--r--native/jni/java-nio/Makefile.am3
-rw-r--r--native/jni/java-nio/java_nio_FileLockImpl.c53
2 files changed, 1 insertions, 55 deletions
diff --git a/native/jni/java-nio/Makefile.am b/native/jni/java-nio/Makefile.am
index dde02cd59..50b1cf92a 100644
--- a/native/jni/java-nio/Makefile.am
+++ b/native/jni/java-nio/Makefile.am
@@ -4,8 +4,7 @@ libjavanio_la_SOURCES = gnu_java_nio_NIOServerSocket.c \
gnu_java_nio_PipeImpl.c \
gnu_java_nio_SelectorImpl.c \
gnu_java_nio_channels_FileChannelImpl.c \
- java_nio_DirectByteBufferImpl.c \
- java_nio_FileLockImpl.c
+ java_nio_DirectByteBufferImpl.c
libjavanio_la_LDFLAGS = @CLASSPATH_MODULE@
libjavanio_la_LIBADD = $(top_builddir)/native/jni/classpath/jcl.lo
diff --git a/native/jni/java-nio/java_nio_FileLockImpl.c b/native/jni/java-nio/java_nio_FileLockImpl.c
deleted file mode 100644
index c068be94a..000000000
--- a/native/jni/java-nio/java_nio_FileLockImpl.c
+++ /dev/null
@@ -1,53 +0,0 @@
-/* NetworkInterface.c - Native methods for NetworkInterface class
- Copyright (C) 2003 Free Software Foundation, Inc.
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GNU Classpath is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-02111-1307 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library. Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module. An independent module is a module which is not derived from
-or based on this library. If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
-
-#include <config.h>
-#include <errno.h>
-
-#include <jni.h>
-#include <jcl.h>
-
-#include "gnu_java_nio_FileLockImpl.h"
-
-#define IO_EXCEPTION "java/io/IOException"
-
-JNIEXPORT void JNICALL
-Java_gnu_java_nio_FileLockImpl_releaseImpl (JNIEnv *env, jclass class)
-{
- JCL_ThrowException (env, IO_EXCEPTION, "java.nio.FileChannelImpl.(): not implemented");
-}
-