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

Daniel Fuchs daniel.fuchs at oracle.com
Fri Jan 18 14:24:05 UTC 2019


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/

best regards,

-- daniel
> 
> Best regards and have a nice weekend,
> Andrej Golovnin



More information about the net-dev mailing list