8153372: Remove sun.misc.ManagedLocalsThread from jdk.httpserver
Reviewed-by: alanb
This commit is contained in:
parent
22da929709
commit
5a117b7e56
jdk/src/jdk.httpserver/share/classes
@ -25,8 +25,7 @@
|
||||
|
||||
module jdk.httpserver {
|
||||
requires java.logging;
|
||||
// 8153372
|
||||
requires jdk.unsupported;
|
||||
|
||||
exports com.sun.net.httpserver;
|
||||
exports com.sun.net.httpserver.spi;
|
||||
uses com.sun.net.httpserver.spi.HttpServerProvider;
|
||||
|
@ -36,7 +36,6 @@ import javax.net.ssl.*;
|
||||
import com.sun.net.httpserver.*;
|
||||
import java.security.AccessController;
|
||||
import java.security.PrivilegedAction;
|
||||
import sun.misc.ManagedLocalsThread;
|
||||
import sun.net.httpserver.HttpConnection.State;
|
||||
|
||||
/**
|
||||
@ -143,7 +142,7 @@ class ServerImpl implements TimeSource {
|
||||
if (executor == null) {
|
||||
executor = new DefaultExecutor();
|
||||
}
|
||||
dispatcherThread = new ManagedLocalsThread(dispatcher);
|
||||
dispatcherThread = new Thread(null, dispatcher, "HTTP-Dispatcher", 0, false);
|
||||
started = true;
|
||||
dispatcherThread.start();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user