diff options
author | Gary Benson <gbenson@redhat.com> | 2006-11-03 10:16:04 +0000 |
---|---|---|
committer | Gary Benson <gary@gcc.gnu.org> | 2006-11-03 10:16:04 +0000 |
commit | adefdaca2d8aa874f3e1f5b8be2736355292b6a4 (patch) | |
tree | 8a6600d7ecfed57029e5fe6bcacbb895c3ca5b97 /libjava/java/net/natInetAddressNoNet.cc | |
parent | 5d7de335d797bb22671a929a0b3712fa25aeb4fe (diff) | |
download | gcc-adefdaca2d8aa874f3e1f5b8be2736355292b6a4.zip gcc-adefdaca2d8aa874f3e1f5b8be2736355292b6a4.tar.gz gcc-adefdaca2d8aa874f3e1f5b8be2736355292b6a4.tar.bz2 |
InetAddress.java: Removed.
2006-11-03 Gary Benson <gbenson@redhat.com>
* java/net/InetAddress.java: Removed.
* java/net/natInetAddressNoNet.cc: Likewise.
* java/net/natInetAddressPosix.cc: Likewise.
* java/net/natInetAddressWin32.cc: Likewise.
* java/net/VMInetAddress.java (getLocalHostname,
lookupInaddrAny, getHostByAddr, getHostByName,
aton): Replace glue methods with native ones.
* java/net/natVMInetAddressNoNet.cc: New file.
* java/net/natVMInetAddressPosix.cc: Likewise.
* java/net/natVMInetAddressWin32.cc: Likewise.
* Makefile.am, configure.ac: Reflect the above.
* sources.am, Makefile.in, configure: Rebuilt.
* java/net/natVMNetworkInterfaceWin32.cc
(winsock2GetRealNetworkInterfaces): Create InetAddress
objects using InetAddress.getByAddress.
* gnu/java/net/natPlainSocketImplWin32.cc
(accept, getOption): Likewise.
* gnu/java/net/natPlainDatagramSocketImplWin32.cc
(peekData, receive, getOption): Likewise.
From-SVN: r118451
Diffstat (limited to 'libjava/java/net/natInetAddressNoNet.cc')
-rw-r--r-- | libjava/java/net/natInetAddressNoNet.cc | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/libjava/java/net/natInetAddressNoNet.cc b/libjava/java/net/natInetAddressNoNet.cc deleted file mode 100644 index 0374af1..0000000 --- a/libjava/java/net/natInetAddressNoNet.cc +++ /dev/null @@ -1,36 +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 <stddef.h> - -#include <java/net/InetAddress.h> - -jbyteArray -java::net::InetAddress::aton (jstring) -{ - return NULL; -} - -jint -java::net::InetAddress::getFamily (jbyteArray bytes) -{ - return 0; -} - -JArray<java::net::InetAddress*> * -java::net::InetAddress::lookup (jstring, java::net::InetAddress *, jboolean) -{ - return NULL; -} - -jstring -java::net::InetAddress::getLocalHostname () -{ - return NULL; -} |