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

Bug 364818

Summary: outline display wrong parameters for inner class constructor
Product: [Eclipse Project] JDT Reporter: Roman M <rmakarov>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: amj87.iitr, deepakazad, dmitriy.g.matveev, markus.kell.r
Version: 3.8   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Roman M CLA 2011-11-25 06:02:09 EST
Build Identifier: M20110909-1335

the issue is similar to Bug 47354

Reproducible: Always

Steps to Reproduce:
1. Open the type java.awt.AccessibleAWTListChild in Eclipse
2. Open Quick Outline window (which opens by CTRL+O combination), notice that constructor has 3 parameters: AccessibleAWTListChild(AccessibleAWTList, List, int)
3. Choose the constructor and press Enter to move the cursor position to the desired line. Nothing happens actually.
4. Also, Outline window (which opens by ALT+Shift+Q, O combination) shows nothing on this file
Comment 1 Ayushman Jain CLA 2011-11-27 00:03:58 EST
(In reply to comment #0)
> notice that
> constructor has 3 parameters: AccessibleAWTListChild(AccessibleAWTList, List,
> int)

Just FYI, the first argument you see here is the synthetic argument generated by the compiler to deal with inner class ctors.

I think there's already an open bug for this. Moving to JDT/UI.
Comment 2 Deepak Azad CLA 2011-11-27 14:43:01 EST
(In reply to comment #1)
> I think there's already an open bug for this.
Ayush, that bug is mentioned in comment 0 :-)

This is same as bug 47354, I will reopen that bug.

*** This bug has been marked as a duplicate of bug 47354 ***
Comment 3 Ayushman Jain CLA 2011-11-27 14:51:57 EST
(In reply to comment #2)
> (In reply to comment #1)
> > I think there's already an open bug for this.
> Ayush, that bug is mentioned in comment 0 :-)
I said a bug "open" for this, not "closed". I remember Markus mentioning it somewhere but couldn't find it.
Comment 4 Markus Keller CLA 2011-11-27 16:54:32 EST
The last time I looked at this problem was bug 354766 comment 14.

Steps 3 and 4 from comment 0 work for me in I20111108-1014 (3.8): The Enter key selects the constructor name and the Outline shows all members of java.awt.List.AccessibleAWTList.AccessibleAWTListChild.

The constructor still has a synthetic parameter too much, though.