Bug 219314 - [compiler] Unhelpful compile error: "the method ... is not applicable for the arguments ..."
Summary: [compiler] Unhelpful compile error: "the method ... is not applicable for the...
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3.1   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-18 08:28 EST by James Shaw CLA
Modified: 2008-02-21 12:42 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Shaw CLA 2008-02-18 08:28:37 EST
Build ID: M20071023-1652

Steps To Reproduce:


More information:
This error should use fully qualified type names when the message would otherwise be ambiguous.  For example

PreparedStatement stmt; Calendar cal;
stmt.setDate(1, cal.getTime());

will give the error "The method setDate(int, Date) in the type PreparedStatement is not applicable for the arguments 
 (int, Date)"