[Kaffe] I am getting a ConcurrentModificationException

Moses DeJong dejong at cs.umn.edu
Thu Sep 23 08:34:11 PDT 1999


Hi all.

I just downloaded the Kaffe CVS from today (Thu Sep 23), and I noticed
that I got a new exception from the Hashtable code. My code works just
fine on other JVM's, but it bombs out under the new Kaffe build. I know
this code worked with Kaffe last week so it must be a new problem. Has
anyone else run into this?

java.util.ConcurrentModificationException
        at java.lang.Throwable.<init>(Throwable.java:33)
        at java.lang.Exception.<init>(Exception.java:17)
        at java.lang.RuntimeException.<init>(RuntimeException.java:17)
        at
java.util.ConcurrentModificationException.<init>(ConcurrentModificati
onException.java:21)
        at java.util.HashMap$EntryIterator.hasNext(HashMap.java:252)
        at java.util.AbstractMap$2.hasNext(AbstractMap.java:115)
        at java.util.Hashtable$1.hasMoreElements(Hashtable.java:59)
        at tcl.lang.JavaImportCmd.cmdProc(JavaImportCmd.java:136)



I can try to come up with a small test case to reproduce the error
if anyone would like to help track this down.

later
mo



More information about the kaffe mailing list