Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 345740

Summary: [navigation] Quick type hierarchy jumps to type instead of method
Product: [Eclipse Project] JDT Reporter: Markus Keller <markus.kell.r>
Component: TextAssignee: Markus Keller <markus.kell.r>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, markus.kell.r, raksha.vasisht
Version: 3.7Flags: daniel_megert: review+
raksha.vasisht: review+
Target Milestone: 3.7 RC2   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Fix daniel_megert: review+

Description Markus Keller CLA 2011-05-13 10:33:34 EDT
Created attachment 195595 [details]
Fix

I20110512-2000, was OK in 3.6.2, broken by the fix for bug 337887

"Ctrl+T, Enter" on bar() and baz() select the type Sub instead of the method:

package xy;

public class Try {
    void foo() { }
}

class Sub extends Try {
    void foo() { }
    private void bar() { }
    static void baz() { }
}
Comment 1 Markus Keller CLA 2011-05-13 10:34:32 EDT
Dani, Raksha: OK for RC2?
Comment 2 Dani Megert CLA 2011-05-16 11:36:48 EDT
+1 for RC2: this needs to get fixed.
Comment 3 Raksha Vasisht CLA 2011-05-17 04:14:08 EDT
+1 for RC2. Patch looks good.
Comment 4 Markus Keller CLA 2011-05-17 05:42:58 EDT
Fixed in HEAD.
Comment 5 Dani Megert CLA 2011-05-18 03:38:58 EDT
Verified in I20110517-0800.