Skip to content

Commit dd4acad

Browse files
committed
Revert changes to SelectorManager::shutdown
1 parent a311e70 commit dd4acad

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/java.net.http/share/classes/jdk/internal/net/http/HttpClientImpl.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1333,13 +1333,6 @@ String getName() {
13331333

13341334
// Only called by the selector manager thread
13351335
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-
}
13431336
try {
13441337
lock.lock();
13451338
try {
@@ -1352,7 +1345,6 @@ private void shutdown() {
13521345
}
13531346
} catch (IOException ignored) {
13541347
} finally {
1355-
// cleanup anything that might have been left behind
13561348
owner.stop();
13571349
}
13581350
}

0 commit comments

Comments
 (0)