changeset 3117:3092c842b0ea

7001301: com/sun/net/httpserver/bugs/6725892/Test.java failing Reviewed-by: alanb
author michaelm
date Fri, 19 Nov 2010 13:30:02 +0000
parents 664b35adabd2
children 892c54251ac8
files test/com/sun/net/httpserver/bugs/6725892/Test.java
diffstat 1 files changed, 1 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/test/com/sun/net/httpserver/bugs/6725892/Test.java	Wed Nov 17 14:32:29 2010 +0000
+++ b/test/com/sun/net/httpserver/bugs/6725892/Test.java	Fri Nov 19 13:30:02 2010 +0000
@@ -65,13 +65,7 @@
     public static void main (String[] args) throws Exception {
 
         ExecutorService exec = Executors.newCachedThreadPool();
-        //Logger log = Logger.getLogger ("com.sun.net.httpserver");
-        //log.setLevel(Level.ALL);
-        //ConsoleHandler hg = new ConsoleHandler();
-        //hg.setLevel (Level.ALL);
-        //log.addHandler(hg);
 
-            sun.net.httpserver.HttpServerImpl x = null;
         try {
             InetSocketAddress addr = new InetSocketAddress (0);
             s1 = HttpServer.create (addr, 0);
@@ -82,11 +76,10 @@
 
             port = s1.getAddress().getPort();
             System.out.println ("Server on port " + port);
-            url = new URL ("http://rialto.ireland:"+port+"/foo");
+            url = new URL ("http://127.0.0.1:"+port+"/foo");
             test1();
             test2();
             test3();
-            x = (sun.net.httpserver.HttpServerImpl)s1;
             Thread.sleep (2000);
         } catch (Exception e) {
             e.printStackTrace();