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.

From-SVN: r99021
This commit is contained in:
Michael Koch 2005-04-29 22:10:09 +00:00 committed by Michael Koch
parent 2d82317df0
commit bf5d810ff1
10 changed files with 247 additions and 228 deletions

View file

@ -0,0 +1,21 @@
/* Copyright (C) 2003, 2005 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/SocketException.h>
#include <java/net/VMNetworkInterface.h>
#include <java/util/Vector.h>
::java::util::Vector*
java::net::VMNetworkInterface::getInterfaces ()
{
throw new SocketException (
JvNewStringLatin1 ("VMNetworkInterface.getInterfaces: unimplemented"));
}