Community
Participate
Working Groups
Build ID: I20070625-1500 Steps To Reproduce: 1.Create one java project and add class test.pck.Test 2.Create another java project 3.In PDE project first call ICompilationUnit.becomeWorkingCopy() for test.pck.Test CU. after that calling findType on second java project for test.pck.Test returns SourceType but shoud return null. More information:
Created attachment 77644 [details] PDE JUnit test to reproduce the problem
*** This bug has been marked as a duplicate of bug 194399 ***
The problem reported here was that findType(...) would consider all opened working copies instead of scoping them to the project. The fix for bug 194399 consists: - in ordering the working copies per project - and in filtering out the working copies that don't belong to this project So the fix for bug 194399 also fixes this bug.
Verified for 3.4 M2 using build I20070917-0010.