[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/30892] ConcurrentModificationException using java.nio.cha
From: |
csm at gnu dot org |
Subject: |
[Bug classpath/30892] ConcurrentModificationException using java.nio.channels.spi.AbstractSelectableChannel |
Date: |
20 Feb 2007 20:44:46 -0000 |
------- Comment #1 from csm at gnu dot org 2007-02-20 20:44 -------
I think the problem is in AbstractSelectior.deregister: it calls the
package-private method 'removeSelectionKey', apparently unsynchronized. Can you
try adding a synchronized() block, on key.channel().blockingLock(), to that
method, and see if this fixes it for you?
The LinkedList line numbers don't match my local copy of Classpath, so I can't
comment on the NPE.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30892