[13] RFR: 8216561: HttpClient: The logic of retry on connect exception is inverted

Chris Hegarty chris.hegarty at oracle.com
Fri Jan 18 14:45:28 UTC 2019


On 18/01/2019 14:24, Daniel Fuchs wrote:
> Hi Andrej,
> 
> On 18/01/2019 14:03, Andrej Golovnin wrote:
>> Is creating new Optionals a real problem? And before you answer please 
>> remember what Donald Knuth said: The real problem is that programmers 
>> have spent far too much time worrying about efficiency in the wrong 
>> places and at the wrong times; premature optimization is the root of 
>> all evil (or at least most of it) in programming. ;-)
> 
> Right - here is a better implementation anyway:
> http://cr.openjdk.java.net/~dfuchs/webrev_8216561/webrev.02/

This looks good Daniel.

-Chris.


More information about the net-dev mailing list