We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a311e70 commit dd4acadCopy full SHA for dd4acad
src/java.net.http/share/classes/jdk/internal/net/http/HttpClientImpl.java
@@ -1333,13 +1333,6 @@ String getName() {
1333
1334
// Only called by the selector manager thread
1335
private void shutdown() {
1336
- // first stop the client to avoid seeing exceptions
1337
- // about "selector manager closed"
1338
- Log.logTrace("{0}: stopping", owner.dbgTag);
1339
- try {
1340
- owner.stop();
1341
- } catch (Throwable ignored) {
1342
- }
1343
try {
1344
lock.lock();
1345
@@ -1352,7 +1345,6 @@ private void shutdown() {
1352
}
1353
1346
} catch (IOException ignored) {
1354
1347
} finally {
1355
- // cleanup anything that might have been left behind
1356
1348
owner.stop();
1357
1349
1358
1350
0 commit comments