Community
Participate
Working Groups
If the project contains cyclic references and the "Find duplicates" option is on, "findSourceElements" enters an infinite loop.
Created attachment 27349 [details] Fix.
The attached patch recursively retrieves all referenced projects instead of using the "getReferencedProjects" method of IProject.
Created attachment 27399 [details] Valid patch.
Is it possible to apply the fix to the 3.0 maintenance branch?
The final test pass is today... it's likely too late. I don't think this classifies as a critical stop ship bug: http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/eclipse-project- home/plans/3_1/freeze_plan_3_1_1.html
That's a bad news. I understand that the simple answer is "Do not use cyclic references". But some people use it and the platform doesn't prevent them from doing it. And the problem is not limited to the case I mentioned. I can fix some in the CDT frame, but the all of them.
Released to HEAD.
Leaving open to consider for 3.1.2 candidate.
Released to 3.1.2 branch.
Please verify, Kevin.
verified