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/natVMInetAddressNoNet.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/natVMInetAddressNoNet.cc')
-rw-r--r-- | libjava/java/net/natVMInetAddressNoNet.cc | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/libjava/java/net/natVMInetAddressNoNet.cc b/libjava/java/net/natVMInetAddressNoNet.cc new file mode 100644 index 0000000..fd8303b --- /dev/null +++ b/libjava/java/net/natVMInetAddressNoNet.cc @@ -0,0 +1,40 @@ +/* Copyright (C) 2003, 2006 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> + +jstring +java::net::VMInetAddress::getLocalHostname () +{ + return NULL; +} + +jbyteArray +java::net::VMInetAddress::lookupInaddrAny () +{ + return NULL; +} + +jstring +java::net::VMInetAddress::getHostByAddr (jbyteArray addr) +{ + return NULL; +} + +JArray<jbyteArray> * +java::net::VMInetAddress::getHostByName (jstring host) +{ + return NULL; +} + +jbyteArray +java::net::VMInetAddress::aton (jstring host) +{ + return NULL; +} |