Bug 144223 - Outline view and Ctrl+O cannot find some constructors
Summary: Outline view and Ctrl+O cannot find some constructors
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 RC4   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-29 09:43 EDT by Ian Brown CLA
Modified: 2007-06-21 11:27 EDT (History)
2 users (show)

See Also:


Attachments

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