Community
Participate
Working Groups
In CProject.getAllSourceRoots(), probably because of using the JDT code template, calls to computeSourceRoots() were made twice, like this: roots = pinfo.sourceRoots = (ISourceRoot[])computeSourceRoots.toArray( new ISourceRoot[computeSourceRoots.size()]); Notice the second call, this was a waste of time and memory, fix to do: List list = computeSourceRoots(); roots = pinfo.sourceRoots = (ISourceRoot[])list.toArray(new ISourceRoot [list.size()]);
Fixed in the branch (2.0.1) and the head.