Suppressed the usage of the Temporary Selector in Sun JDK to work around a weird race condition in Windows

This commit is contained in:
Trustin Lee 2009-02-04 06:19:20 +00:00
parent 95584f5c34
commit b4b7a8c48f

View File

@ -201,7 +201,7 @@ class NioServerSocketPipelineSink extends AbstractChannelSink {
public void run() {
for (;;) {
try {
SocketChannel acceptedSocket = channel.socket.socket().accept().getChannel();
SocketChannel acceptedSocket = channel.socket.accept();
try {
ChannelPipeline pipeline =
channel.getConfig().getPipelineFactory().getPipeline();