Community
Participate
Working Groups
3.1 RC2 range wrong for package-info. Follow steps in bug 99812 but select 'package-info' ==> only the '@' gets selected due to the wrong range (see attached picture).
Created attachment 23034 [details] Variables view
In fact the interface package-info should not be visible in the outliner.
This is related to bug 99662. The package-info interface should not be displayed in the outliner, but the search should not report a question mark in front of the package-info.
Philippe, This would be a good candidate for 3.1.1.
+1 for 3.1.1
see bug 99662 comment 2
Created attachment 25603 [details] Patch to fix this issue Note that instead of using package fragment as suggested in bug 99662 comment 2, I have associated package declaration to matches returned by search. I did not use package fragment because with this model element, editor was not opened on package-info.java file while selecting match in Search view...
Created attachment 25604 [details] Test cases added to JavaSearchBugsTests 2 test cases added to verify that search matches have right associated element while looking for annotations references but also for references inside javadoc comments.
Patch released in HEAD stream
Patches released in R3_1_maintenance stream
Verified using I20050920-0010 for 3.2M2
Verified for 3.1.1 using build M20050923-1430.