Bug 327057 - [handles] Declare annotation coming from another project does not have proper handle
Summary: [handles] Declare annotation coming from another project does not have proper...
Status: NEW
Alias: None
Product: AspectJ
Classification: Tools
Component: AJBrowser (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 324240
  Show dependency tree
 
Reported: 2010-10-05 23:25 EDT by Andrew Eisenberg CLA
Modified: 2013-06-24 11:05 EDT (History)
1 user (show)

See Also:


Attachments
Pair of projects that has this problem (15.53 KB, application/octet-stream)
2010-10-05 23:27 EDT, Andrew Eisenberg CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Eisenberg CLA 2010-10-05 23:25:42 EDT
Given a 2 project setting.  Common is on the aspect path of Depends.  There is a declare @type in common that targets a type in depends.  Here is the crosscutting model (from the AJDT event trace):

20:21:36 Printing crosscutting model for Common
20:21:36 Hierarchy:
=Common/src
  =Common/src<com.bugzilla.ajdt
    =Common/src<com.bugzilla.ajdt*Annotates.aj
      =Common/src<com.bugzilla.ajdt*Annotates.aj%com.bugzilla.ajdt
      =Common/src<com.bugzilla.ajdt*Annotates.aj#
      =Common/src<com.bugzilla.ajdt*Annotates.aj'Annotates
        =Common/src<com.bugzilla.ajdt*Annotates.aj'Annotates[Ann
        =Common/src<com.bugzilla.ajdt*Annotates.aj'Annotates`declare \@type

Relationship map:

20:21:36 --------------------------------------
20:21:36 
20:21:36 
20:21:36 --------------------------------------
20:21:36 Printing crosscutting model for Depends
20:21:36 Hierarchy:
=Depends/src
  =Depends/src<com.bugzilla.other
    =Depends/src<com.bugzilla.other{Java.java
      =Depends/src<com.bugzilla.other{Java.java%com.bugzilla.other
      =Depends/src<com.bugzilla.other{Java.java#
        =Depends/src<com.bugzilla.other{Java.java#com.bugzilla.ajdt.Annotates$Ann
      =Depends/src<com.bugzilla.other{Java.java[Java

Relationship map:
=Depends/src<com.bugzilla.other{Java.java[Java ::
	=Depends/src<com.bugzilla.other{Java.java[Java --annotated by--> [*Annotates.aj]
*Annotates.aj ::
	*Annotates.aj --annotates--> [=Depends/src<com.bugzilla.other{Java.java[Java]


Notice the relationship map has a handle *Annotates.aj.  I would expect this handle to be:

=Depends/binaries<com.bugzilla.ajdt*Annotates.aj'Annotates`declare \@type
Comment 1 Andrew Eisenberg CLA 2010-10-05 23:27:03 EDT
Created attachment 180292 [details]
Pair of projects that has this problem
Comment 2 Andrew Eisenberg CLA 2010-10-05 23:28:04 EDT
This bug is blocking the completion of Bug 324240.
Comment 3 Andrew Clement CLA 2013-06-24 11:05:31 EDT
unsetting the target field which is currently set for something already released