<Swing Dev> [13] RFR JDK-8213781:web page background renders blue in JEditorPane

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Thu Feb 21 17:31:46 UTC 2019


On 21/02/2019 09:23, Prasanta Sadhukhan wrote:
>> There are tests which connects to www.google.com. java/net/Inet6Address/PreferIPv6AddressesTest.java, java/net/CookieHandler/TestHttpCookie.java which is an open test so I guess it should not be a problem.

PreferIPv6AddressesTest test is specific for networking and it handle errors properly:
         } catch (UnknownHostException e) {
             out.println("Unknown host " + HOST_NAME + ", cannot run test.");
             return;
         }

TestHttpCookie test uses various hostnames as strings in the header. It does not connect to the hosts and works offline.

-- 
Best regards, Sergey.


More information about the swing-dev mailing list