Community
Participate
Working Groups
build i0324, win2k, ibm jre 1.3.1 sr2 I am running the 0324 build with j9sc20030318. I started a runtime workbench (with IBM JRE 1.3.1 SR2) and was running with -consoleLog and notice this in my console. Nothing in the log file. Didn't seem to effect the behaviour of my runtime workbench. java.util.ConcurrentModificationException at java.util.AbstractList$Itr.next(AbstractList.java(Compiled Code)) at java.util.AbstractList$Itr.next(AbstractList.java(Compiled Code)) at org.eclipse.jdt.internal.core.JavaModelManager.mergeDeltas (JavaModelManager.java:1202) at org.eclipse.jdt.internal.core.JavaModelManager.fire (JavaModelManager.java:688) at org.eclipse.jdt.internal.core.JavaModelOperation.run (JavaModelOperation.java:704) at org.eclipse.jdt.internal.core.JavaElement.runOperation (JavaElement.java:540) at org.eclipse.jdt.internal.core.WorkingCopy.reconcile (WorkingCopy.java:438) at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile (JavaReconcilingStrategy.java:72) at org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile (JavaReconcilingStrategy.java:99) at org.eclipse.jface.text.reconciler.MonoReconciler.process (MonoReconciler.java:76) at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run (AbstractReconciler.java(Compiled Code))
JavaModelManager#fire should probably be synchronized.
Post 2.1
I also remember some issues around J9 collection iterators in term of thread safety. Could be surfacing the underlying issue.
reopen
Changed delta processing to use a PerThreadObject. This should avoid the concurrency problem. Please reopen if you see the problem again.
Verified.