Small improvements to Inet6 implementation (unix)

Alan Bateman Alan.Bateman at oracle.com
Tue Aug 31 03:14:42 PDT 2010


Martin Buchholz wrote:
> Hi net maintainers,
>
> I'd like you to do a code review.
>
> I got frustrated with incomplete information from exceptions thrown 
> from java.net <http://java.net>, so I hacked up some fixes for them.  
> This is the result.
>
> generify; remove compiler warnings, typos, casts; return status information via gai_strerror when getaddrinfo fails
>   
>
> http://cr.openjdk.java.net/~martin/webrevs/openjdk7/netErrors/ 
> <http://cr.openjdk.java.net/%7Emartin/webrevs/openjdk7/netErrors/>
>
> But... I don't know what I'm doing here, and the underlying bug I was 
> tracking down is fixed, so it's hard for me to test my code changes. 
> It would be good if a java.net <http://java.net> maintainer would add 
> a test case, or at least verify my exception improvements with an ad 
> hoc test.
>
> Thanks,
>
> Martin
Chris is on vacation but Michael might have cycles to review it.

I've created this bug to track it:
  6981157: Improve UnknownHostException with EAI error details and other 
cleanups

-Alan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/net-dev/attachments/20100831/306bcf73/attachment.html 


More information about the net-dev mailing list