[cp-patches] RFC: NetworkInterface - implement some 1.6 methods

Christian Thalinger twisti at complang.tuwien.ac.at
Mon Apr 21 09:01:20 UTC 2008


On Mon, 2008-04-21 at 09:03 +0200, Robert Schuster wrote:
> +  public boolean isUp()
> +    throws SocketException
> +  {
> +    return VMNetworkInterface.isUp(netif.name);
> +  }

> +  public boolean isPointToPoint()
> +    throws SocketException
> +  {
> +    return VMNetworkInterface.isUp(netif.name);
> +  }

> +  public boolean isLoopback()
> +    throws SocketException
> +  {
> +    return VMNetworkInterface.isUp(netif.name);
> +  }

> +  public boolean supportsMulticast()
> +    throws SocketException
> +  {
> +    return VMNetworkInterface.isUp(netif.name);
> +  }

Seems like a copy-paste bug.

- twisti




More information about the Classpath-patches mailing list