ceylon/ceylon-compiler — Issue #399: ConcurrentModificationException related to interop
Author: gavinking
Created: 2012-02-24 08:10:44+00:00
State: open
Labels: BUG, high priority, interoperability, model-loader

The following code:

import java.lang { S=String }

void m() {
S s = S("i=");
}

Results in:

```
/Users/gavin/runtime-EclipseApplication/cme/source/cme.ceylon:4: compiler message file broken: key=compiler.err.ceylon arguments=ExpressionVisitor caused an exception visiting BaseTypeExpression node: java.util.ConcurrentModificationException at java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:761), {1}, {2}, {3}, {4}, {5}, {6}, {7}
S s = S("i=");
```

I'm reporting this here because during debugging I have `LazyPackage` and `LinkedList` in the stack, which makes it look as if `LazyPackage` is to blame, not the type checker.