6536211: flaw in ServerImpl

Removed doPrivileged block

Reviewed-by: jccollet
This commit is contained in:
Michael McMahon 2008-07-14 11:39:42 +01:00
parent 9ac27197df
commit cc0b15ccd8

View File

@ -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();
}