Community
Participate
Working Groups
I'm using 3.1RC2. There are two symptoms of this bug, written in CAPITAL LETTERS in steps 4 & 6 below. The steps are taken from bug 100636. Steps: 1) Open type javax.swing.DefaultCellEditor. 2) Switch to the Java Browsing perspective. 3) In the Members tab, hilite EditorDelegate and press F4 (Open Type Hierarchy). 4) In the lower pane of the Hierarchy tab, rightclick on setValue(Object) and pick Declarations>>Hierarchy. WRONGLY NONE ARE FOUND. Please note that search declaration in hierarchy specifies the two flags IJavaSearchConstants.IGNORE_DECLARING_TYPE | IJavaSearchConstants.IGNORE_RETURN_TYPE. Using Search dialog (Ctrl+H) correctly reports all matches. So this might be a problem of the hierarchy scope.
Created attachment 23603 [details] Smaller test case Problem occurs for method in anonymous declared in binary types and only for hierarchy scope. It works well when anonymous is in source type.
Note that this problem already occurs with 3.0.2 => defer post 3.1
It's the same problem while searching for references in hierarchy (see bug 100636 comment 1).
Reopen for 3.2
Unfortunately have to defer it again. Endgame plan is really short for 3.2...
Reopen as LATER is deprecated...
Can't reproduce using 3.4 RC3. Search returns 4 declaration matches in JDK 1.6. Probably fixed?
(In reply to comment #7) > Can't reproduce using 3.4 RC3. Search returns 4 declaration matches in JDK 1.6. > Probably fixed? > Correct, thanks for the verification => closing as WORKSFORME
Verified with build I20080613-2000 that comment 0 scenario is fixed now.
Note that it was already fixed in 3.3.2...