Bug 283864

Summary: The crosscutting model contains incorrect entries when target of advice is generic and an array
Product: [Tools] AspectJ Reporter: Andrew Eisenberg <andrew.eisenberg>
Component: CompilerAssignee: aspectj inbox <aspectj-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: aclement
Version: unspecified   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Bug Depends on:    
Bug Blocks: 283747    

Description Andrew Eisenberg CLA 2009-07-17 12:02:59 EDT
This is the AJ side of Bug 283747.  It seems that the bug originally comes from AspectJ.

In that bug, there is a simple failing test program.  It seems that advice relationships in the relationship map are being added to the type, rather than the methods.  In particular, 

This entry is a target of the advice in the relationship map (and has a corresponding opposite entry in the map):
=Bug283747/src<{Other.java[Other

Instead, these 3 methods should be in the relationship map:
=Bug283747/src<{Other.java[Other~foo2~\[QT;
=Bug283747/src<{Other.java[Other~foo3~\[QT;
=Bug283747/src<{Other.java[Other~foo4
Comment 1 Andrew Clement CLA 2009-07-17 16:47:48 EDT
problem here is the bytecodeSignature in the model is not erased but the method being looked up is erased.
Comment 2 Andrew Clement CLA 2013-06-24 11:03:51 EDT
unsetting the target field which is currently set for something already released