Bug 22078

Summary: Incorrect error message
Product: [Eclipse Project] JDT Reporter: Rodrigo Peretti <rodrigo>
Component: CoreAssignee: Philipe Mulet <philippe_mulet>
Status: RESOLVED WORKSFORME QA Contact:
Severity: minor    
Priority: P3    
Version: 2.0   
Target Milestone: 2.1 M1   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Rodrigo Peretti CLA 2002-07-31 10:07:14 EDT
build I-20020730

The following code gives the wrong message: "The constructor Foo.Bar(String) 
is undefined". The message should be Foo.Bar(long, String).

public class Foo {

	class Bar {
		long l;
		String s;
		Bar(String s, long l) {
			this.l = l;
			this.s = s;
		}
	}

	public Foo() {
		new Bar(2l, "bar");
	}
}
Comment 1 Philipe Mulet CLA 2002-07-31 10:31:43 EDT
Cannot reproduce with latest (>= v_269). Patch with latest is available at:

http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/jdt-core-
home/patches/org.eclipse.jdt.core_2.0.0.zip

Build 20020730 did contain jdt/core v_268.