diff options
author | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-29 22:10:09 +0000 |
---|---|---|
committer | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-29 22:10:09 +0000 |
commit | d551a6b4ecf6a507807181c560aba1a87a0731ba (patch) | |
tree | 25f6089b6a536f14825da86a9d2efa0dec7c7b47 /libjava/java/net/natNetworkInterfaceNoNet.cc | |
parent | 523507f18505ae33b72cc565e8122044011f3e09 (diff) | |
download | ppe42-gcc-d551a6b4ecf6a507807181c560aba1a87a0731ba.tar.gz ppe42-gcc-d551a6b4ecf6a507807181c560aba1a87a0731ba.zip |
2005-04-29 Michael Koch <konqueror@gmx.de>
* java/net/NetworkInterface.java
(static): Removed.
(NetworkInterface(String,InetAddress)): Made package-private.
(NetworkInterface(String,InetAddress[])): New constructor.
(getRealNetworkInterfaces): Removed.
(getByName): Use VMNetworkInterface.getInterfaces().
(getByInetAddress): Likewise.
(getNetworkInterfaces): Likewise.
* java/net/VMNetworkInterface.java,
java/net/natVMNetworkInterfaceNoNet.cc,
java/net/natVMNetworkInterfacePosix.c,c
java/net/natVMNetworkInterfaceWin32.cc: New files.
* java/net/natNetworkInterfaceNoNet.cc,
java/net/natNetworkInterfacePosix.cc,
java/net/natNetworkInterfaceWin32.cc: Removed.
* configure.ac
* Makefile.am
* configure, Makefile.in: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99021 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/net/natNetworkInterfaceNoNet.cc')
-rw-r--r-- | libjava/java/net/natNetworkInterfaceNoNet.cc | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/libjava/java/net/natNetworkInterfaceNoNet.cc b/libjava/java/net/natNetworkInterfaceNoNet.cc deleted file mode 100644 index 5f3c5089221..00000000000 --- a/libjava/java/net/natNetworkInterfaceNoNet.cc +++ /dev/null @@ -1,21 +0,0 @@ -/* Copyright (C) 2003 Free Software Foundation - - This file is part of libgcj. - -This software is copyrighted work licensed under the terms of the -Libgcj License. Please consult the file "LIBGCJ_LICENSE" for -details. */ - -#include <config.h> -#include <platform.h> - -#include <java/net/NetworkInterface.h> -#include <java/net/SocketException.h> -#include <java/util/Vector.h> - -::java::util::Vector* -java::net::NetworkInterface::getRealNetworkInterfaces () -{ - throw new SocketException ( - JvNewStringLatin1 ("NetworkInterface.getrealNetworkInterfaces: unimplemented")); -} |