Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 100773 - Nested class generates compile errors
Summary: Nested class generates compile errors
Status: RESOLVED DUPLICATE of bug 99137
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-20 05:13 EDT by Grzegorz L. Turski CLA
Modified: 2005-06-20 09:33 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Grzegorz L. Turski CLA 2005-06-20 05:13:44 EDT
Eclipse 3.1RC3. Hovering over invocation of constructor of nested class fires 
spurious bugs. Error log popups and following message appears: 

JavaElementLabels: Number of param types(1) != number of names(0): TestAction.
An exception stack trace is not available, also popup over constructor 
invocation shows wrong number of parameters.

replication code:

public class TestClass {
        
    void doSth(int direction) {
        TestAction action = new TestAction();
    }
    
    class TestAction {                
        TestAction() {            
        }        
    }
}

Grzegorz L. Turski
Comment 1 Jerome Lanneluc CLA 2005-06-20 07:31:00 EDT
Message is logged by JDT UI.
Comment 2 Dirk Baeumer CLA 2005-06-20 09:33:31 EDT
The binding key is 

LTestClass$TestAction;.(LTestClass;)V

where as the signature is 

(LTestClass;)V

This is actually a dup of 99137.

*** This bug has been marked as a duplicate of 99137 ***