Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: 1.5
-
Fix Version/s: None
-
Component/s: Java API
-
Labels:None
-
Number of attachments :
Description
In JavaDocBuilderTest....
public void testAllowsClassInterfacesToBeCheckedInSearchBlock() {
// setup
builder.addSource(new StringReader("class Y implements SomeInterface { }"));
// execute
List results = javaDocBuilder.search(new Searcher() {
public boolean eval(JavaClass javaClass)
});
// assert
assertEquals(1, results.size());
}
Current result is this:
java.util.ConcurrentModificationException
at java.util.TreeMap$EntryIterator.nextEntry(TreeMap.java:1022)
at java.util.TreeMap$KeyIterator.next(TreeMap.java:1047)
at java.util.Collections$1.next(Collections.java:992)
at com.thoughtworks.qdox.JavaDocBuilder.search(JavaDocBuilder.java:378)
Activity
Mike Williams
made changes -
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | Closed [ 6 ] |
Resolution | Cannot Reproduce [ 5 ] |
Joe, I can't replicate the problem here, ie. the test you provide above doesn't fail for me (Linux, Sun J2SE 1.4.1_01-b01). What's your environment?
There's no fixture element called "javaDocBuilder" in JavaDocBuilderTest ... I'm assuming you meant "builder"?