Bug 486612 - Can lose a super type bound when weaving a type using generics in its declaration
Summary: Can lose a super type bound when weaving a type using generics in its declara...
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: 1.8.8   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: 1.8.9   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-26 19:18 EST by Andrew Clement CLA
Modified: 2016-02-18 15:27 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 2016-01-26 19:18:05 EST
Raised on the AspectJ mailing list, I've recreated it. Weaving here:

class B<T extends SomeClass & SomeInterface> extends C<T> implements Serializable {

weaving into this with a declare parents to add another interface causes SomeClass to disappear. This may not be exactly what the user was doing but it does indicate there is a way in which we write out type signatures and damage them. Maybe he has different cause but it leads to the same problem.
Comment 1 Andrew Clement CLA 2016-02-18 15:27:41 EST
Fixed up. Can't believe this was in there since the beginning!