bf5d810ff1
* 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
22 lines
563 B
C++
22 lines
563 B
C++
/* 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"));
|
|
}
|