This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix InetAddress.getLocalHost()


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]