Community
Participate
Working Groups
declaring annotations (declare @type, @constructor, @method and @field) currently doesn't show a message when the -showWeaveInfo option is set in ajc. Appropriate messages should be displayed.
I have a patch from Andrew, will put this in for 1.5.0M3
Created attachment 20630 [details] Patches to make showweaveinfo work This includes the patch to make -showWeaveInfo work for declare @type, field, method, ctor. But I don't think it copes with null source locations (see the beautifyLocation() method in the Shadow class) - which can occur when no debug info exists for the types being woven.
Patch integrated. I tidied up the code so there wasn't the possibility of multiple NPEs occurring per line. I modified it to cope with duff source location (i.e. when no debug information is present) and I changed the weaving message so that it reports what annotation is being attached to each member/type. Fix will be in next dev build.
Fix available, see AspectJ download page: aspectj-DEVELOPMENT-20050506112715.jar