Re: RFR: 8270553: Tests should not use (real, in-use, routable) 1.1.1.1 as dummy IP value

2021-07-27 Thread Aleksey Shipilev
On Fri, 16 Jul 2021 09:16:23 GMT, Jonathan Dowland wrote: > The tests `test/jdk/java/net/HttpURLConnection/HttpURLConWithProxy.java` uses > the IP address "1.1.1.1" as a value. I think at the time the address was > picked, the assumption was the address was not valid / not routable. Since > Ap

Re: RFR: 8270553: Tests should not use (real, in-use, routable) 1.1.1.1 as dummy IP value

2021-07-27 Thread Alan Bateman
On Tue, 27 Jul 2021 08:09:13 GMT, Aleksey Shipilev wrote: > But this rabbit hole excursion makes me think it would be better to just use > the local loopback in these tests. The test already attempts to connect to a server on the loopback address with setup that leads to the "no suitable proxy