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

David Holmes david.holmes at oracle.com
Thu Oct 17 02:48:38 UTC 2013


Brian,

On 17/10/2013 9:21 AM, Brian Burkhalter wrote:
> 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:

You can not reopen a bug once it has been fixed! You need to create a 
new bug for this issue and re-close the original ensuring that you 
restore all the correct field values ie "Fixed in build".

David

> 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