File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
jdk/test/sun/net/www/http/KeepAliveCache Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 4040public class KeepAliveProperty {
4141
4242 static volatile boolean pass = false ;
43+ static Logger logger = Logger .getLogger ("sun.net.www.protocol.http.HttpURLConnection" );
4344
4445 static class Server extends Thread {
4546 final ServerSocket server ;
@@ -138,7 +139,6 @@ static String fetch(URL url) throws Exception {
138139
139140 public static void main (String args []) throws Exception {
140141 // exercise the logging code
141- Logger logger = Logger .getLogger ("sun.net.www.protocol.http.HttpURLConnection" );
142142 logger .setLevel (Level .FINEST );
143143 ConsoleHandler h = new ConsoleHandler ();
144144 h .setLevel (Level .FINEST );
@@ -171,6 +171,7 @@ public static void main(String args[]) throws Exception {
171171 if (!expectClose )
172172 throw e ;
173173 }
174+ s .join ();
174175
175176 if (!pass )
176177 throw new RuntimeException ("Failed in server" );
You can’t perform that action at this time.
0 commit comments