Bug 144223

Summary: Outline view and Ctrl+O cannot find some constructors
Product: [Eclipse Project] JDT Reporter: Ian Brown <ian>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, loskutov
Version: 3.2   
Target Milestone: 3.3 RC4   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Ian Brown CLA 2006-05-29 09:43:31 EDT
With 3.2 RC6, no plugins, default configuration and JDK 1.5.0_06:

I am finding that the Outline view and the Ctrl+O method list cannot take the Java editor to certain constructors.

Example test case:
- Open new (or existing) workspace configured to JDK 1.5.0_06
- Ctrl+Shift+T to open ThreadPoolExecutor from java.util.concurrent
- Observe that the Outline view lists 4 constructors
- Double-click a constructor in the Outline view and observe that the Java editor does not navigate to the constructor
- Do a Ctrl+O and observe a list of methods pop up. Select a constructor and observe that the Java editor does not navigate to the constructor
- Repeat either step and select a method or other attribute and observe that the Java editor *does* navigate to the selected item

Repeat the above with (eg) JDialog and observe that the constructor selection does work in the Outline and Ctrl+O views
Comment 1 Dani Megert CLA 2006-05-29 09:54:31 EDT
We get [offset=-1, length=0] as source range from JDT Core.
Comment 2 Philipe Mulet CLA 2006-05-30 04:44:54 EDT
Jerome - is this a regression ?
Comment 3 Jerome Lanneluc CLA 2006-05-31 05:48:24 EDT
Not a regression comparing to 3.1.
Comment 4 Jerome Lanneluc CLA 2007-06-21 11:27:18 EDT
Verified that this is now working using 3.3RC4