-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 10
-
Component/s: core-libs
-
b18
-
Not verified
1. from java.nio.channels.Selector's javadoc:
* <p> Selectors are themselves safe for use by multiple concurrent threads;
2. AbstractSelector is a Selector.
-------------------------------------------------------
Should be:
private final AtomicBoolean selectorOpen = new AtomicBoolean(true);
instead of:
private AtomicBoolean selectorOpen = new AtomicBoolean(true);
* <p> Selectors are themselves safe for use by multiple concurrent threads;
2. AbstractSelector is a Selector.
-------------------------------------------------------
Should be:
private final AtomicBoolean selectorOpen = new AtomicBoolean(true);
instead of:
private AtomicBoolean selectorOpen = new AtomicBoolean(true);
- links to