File tree 1 file changed +2
-1
lines changed
test/jdk/sun/net/www/http/KeepAliveCache
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 40
40
public class KeepAliveProperty {
41
41
42
42
static volatile boolean pass = false ;
43
+ static Logger logger = Logger .getLogger ("sun.net.www.protocol.http.HttpURLConnection" );
43
44
44
45
static class Server extends Thread {
45
46
final ServerSocket server ;
@@ -138,7 +139,6 @@ static String fetch(URL url) throws Exception {
138
139
139
140
public static void main (String args []) throws Exception {
140
141
// exercise the logging code
141
- Logger logger = Logger .getLogger ("sun.net.www.protocol.http.HttpURLConnection" );
142
142
logger .setLevel (Level .FINEST );
143
143
ConsoleHandler h = new ConsoleHandler ();
144
144
h .setLevel (Level .FINEST );
@@ -171,6 +171,7 @@ public static void main(String args[]) throws Exception {
171
171
if (!expectClose )
172
172
throw e ;
173
173
}
174
+ s .join ();
174
175
175
176
if (!pass )
176
177
throw new RuntimeException ("Failed in server" );
You can’t perform that action at this time.
5 commit comments
openjdk-notifier[bot] commentedon Aug 3, 2022
Review
Issues
GoeLin commentedon Sep 27, 2022
/backport jdk17u-dev
openjdk[bot] commentedon Sep 27, 2022
@GoeLin the backport was successfully created on the branch GoeLin-backport-af529be0 in my personal fork of openjdk/jdk17u-dev. To create a pull request with this backport targeting openjdk/jdk17u-dev:master, just click the following link:
➡️ Create pull request
The title of the pull request is automatically filled in correctly and below you find a suggestion for the pull request body:
If you need to update the source branch of the pull then run the following commands in a local clone of your personal fork of openjdk/jdk17u-dev:
GoeLin commentedon Sep 27, 2022
/backport jdk11u-dev
openjdk[bot] commentedon Sep 27, 2022
@GoeLin the backport was successfully created on the branch GoeLin-backport-af529be0 in my personal fork of openjdk/jdk11u-dev. To create a pull request with this backport targeting openjdk/jdk11u-dev:master, just click the following link:
➡️ Create pull request
The title of the pull request is automatically filled in correctly and below you find a suggestion for the pull request body:
If you need to update the source branch of the pull then run the following commands in a local clone of your personal fork of openjdk/jdk11u-dev: