Please, review the following simple test change Issue : https://bugs.openjdk.java.net/browse/JDK-8145417 Webrev: http://cr.openjdk.java.net/~jbachorik/8145417/webrev.00
The affected tests check for 'Unknown host' in stderr. In some situations this line may not appear, although an alternative error indicating unavailability of the target host is thrown, and it is necessary to make the error matching more robust (eg. checking also for 'Connection refused to host:' message).
Thanks, -JB-