Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345740 - [navigation] Quick type hierarchy jumps to type instead of method
Summary: [navigation] Quick type hierarchy jumps to type instead of method
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 3.7 RC2   Edit
Assignee: Markus Keller CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-13 10:33 EDT by Markus Keller CLA
Modified: 2011-05-18 03:38 EDT (History)
3 users (show)

See Also:
daniel_megert: review+
raksha.vasisht: review+


Attachments
Fix (1.03 KB, patch)
2011-05-13 10:33 EDT, Markus Keller CLA
daniel_megert: review+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.