Bug 79460 - IMethodBinding of non-generic method says isRawMethod()==true
Summary: IMethodBinding of non-generic method says isRawMethod()==true
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M4   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-24 21:23 EST by Markus Keller CLA
Modified: 2004-12-15 06:58 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 Markus Keller CLA 2004-11-24 21:23:13 EST
I200411230838

IMethodBindings of non-generic methods say isRawMethod()==true. E.g. in class
java.lang.Integer, methods
- public static Integer getInteger(String nm)
- public int intValue()
etc. are clearly not raw instantiations of generic methods. Marking them as
isRawMethod() is inconsistent with when ITypeBindings are considered isRawType().
Comment 1 Olivier Thomann CLA 2004-11-25 13:42:38 EST
Will be fixed shortly.
Comment 2 Olivier Thomann CLA 2004-11-25 14:21:01 EST
Fixed and released in HEAD.
Regression tests added in ASTConverter15Test.test0078, test0079, test0080 and
test0081.
Comment 3 Jerome Lanneluc CLA 2004-12-15 06:58:01 EST
Verified (in I20041214-2000) that these tests ensures that isRawMethod() returns
false for methods that are not generic.