Bug 22078 - Incorrect error message
Summary: Incorrect error message
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 minor (vote)
Target Milestone: 2.1 M1   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-31 10:07 EDT by Rodrigo Peretti CLA
Modified: 2002-09-10 08:51 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 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.