Fix InetAddress.getLocalHost()

Tom Tromey tromey@redhat.com
Thu Mar 23 00:40:00 GMT 2006


>>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:

Andrew> We need to merge this class with Classpath

Yeah, definitely.

Andrew>  	catch (Exception ex)
Andrew>  	  {
Andrew> +	    throw new UnknownHostException(hostname);
Andrew>  	  }

It may be handy to chain the exception here.

Tom



More information about the Java mailing list