JDK 8 RFR 8010371: getaddrinfo can fail with EAI_SYSTEM/EAGAIN, causes UnknownHostException to be thrown

Brian Burkhalter brian.burkhalter at oracle.com
Wed Oct 16 23:21:50 UTC 2013


Dmitry,

I think you are correct: that slipped by both me and the reviewers. I have reopened the issue and posted an amendment to the original webrev here:

http://cr.openjdk.java.net/~bpb/8010371/webrev.4-amendment/

Thanks for catching this.

Brian

On Oct 16, 2013, at 3:06 PM, Dmitry Samersoff wrote:

> You have to check error != 0 before call to WSAGetLastError() at
> ll. 134 Inet6AddressImpl.c
> 
> Besides that - the fix looks good for me.
>> 
>> Here's the patch updated for this option:
>> 
>> http://cr.openjdk.java.net/~bpb/8010371/webrev.4/




More information about the core-libs-dev mailing list