diff -r 378aa3362868 -r 320a714614e9 jdk/test/java/net/URL/OpenStream.java --- a/jdk/test/java/net/URL/OpenStream.java Tue Mar 06 10:25:45 2012 +0800 +++ b/jdk/test/java/net/URL/OpenStream.java Tue Mar 06 20:34:38 2012 +0000 @@ -39,7 +39,7 @@ URL u = new URL(badHttp); try { InputStream in = u.openStream(); - } catch (UnknownHostException x) { + } catch (IOException x) { return; } throw new RuntimeException("Expected UnknownHostException to be thrown");