6536211: flaw in ServerImpl
Removed doPrivileged block Reviewed-by: jccollet
This commit is contained in:
parent
9ac27197df
commit
cc0b15ccd8
@ -120,14 +120,8 @@ class ServerImpl implements TimeSource {
|
||||
if (executor == null) {
|
||||
executor = new DefaultExecutor();
|
||||
}
|
||||
Thread t = new Thread (dispatcher);
|
||||
started = true;
|
||||
final Dispatcher d = dispatcher;
|
||||
Thread t = AccessController.doPrivileged(new PrivilegedAction<Thread>() {
|
||||
public Thread run() {
|
||||
Thread t = new Thread (d);
|
||||
return t;
|
||||
}
|
||||
});
|
||||
t.start();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user