Hi,
I am using java nio selector, and seem to hit the following issue randomly but consistantly in my application while calling the selector.close. The selector object is being accessed by a single thread in my application. The same application works fine on Solaris, Linux and Windows. I feel that this is an issue is with the AIX implementation of the Selector
java.util.ConcurrentModificationException
at java.util.HashMap$AbstractMapIterator.checkConcurrentMod(HashMap.java:118)
at java.util.HashMap$AbstractMapIterator.makeNext(HashMap.java:123)
at java.util.HashMap$KeyIterator.next(HashMap.java:196)
at sun.nio.ch.SelectorImpl.implCloseSelector(SelectorImpl.java:95)
at java.nio.channels.spi.AbstractSelector.close(AbstractSelector.java:102)
at org.beepcore.beep.transport.tcp.TCPSelector.close(TCPSelector.java:173)
java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pap6460sr5ifix-20090729_01(SR5+IZ55981))
IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 AIX ppc64-64 jvmap6460sr5ifx-20090728_39709 (JIT enabled, AOT enabled)
J9VM - 20090728_039709_BHdSMr
JIT - r9_20090518_2017
GC - 20090417_AA)
JCL - 20090529_01
Any pointers are appreciated,
Thanks in advance,
Vijay