Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336745 - incorrect signatures for generic ITDs
Summary: incorrect signatures for generic ITDs
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: DEVELOPMENT   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 1.6.11   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-09 13:41 EST by Andrew Clement CLA
Modified: 2011-02-10 17:55 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 Andrew Clement CLA 2011-02-09 13:41:00 EST
aspect Foo {
  <T extends I> void C.mitd(T something) {}
}

class C {
  <T extends I> void m(T something) {}
}

interface I {}

Compiling that reveals differing generic signatures for the m vs the mitd methods:

m:    <T::LI;>(TT;)V;
mitd: <T:Ljava/lang/Object;:LI;>(TT;)V;

aspectj is incorrectly using a first bound of Object when that shouldn't be included when there is an interface bound around.
Comment 1 Andrew Clement CLA 2011-02-10 17:55:44 EST
fixed