< prev index next >

src/java.base/share/classes/sun/nio/ch/AbstractPollSelectorImpl.java

Print this page
rev 49242 : [mq]: selector-cleanup

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2001, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -97,11 +97,10 @@
                     ((SelChImpl)selch).kill();
             }
             implCloseInterrupt();
             pollWrapper.free();
             pollWrapper = null;
-            selectedKeys = null;
             channelArray = null;
             totalChannels = 0;
         }
     }
 
< prev index next >