Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / December 2005

Tip: Looking for answers? Try searching our database.

ajc error msg

Thread view: 
Shin - 02 Dec 2005 18:05 GMT
Hi all,

 I am kind of confused by the following error message:  when invoking,
"ajc -classpath ... FooAspect.java", where FooAspect reference types
from the classpath.

"FooAspect.java:68 error formal unbound in pointcut
pointcut run(A a, P p): (target(p) && args(a) && execute(public
P+.runa(A)));"

I don't see anything wrong with the pointcut I defined.  And if the
error is unrelated to this pointcut (i.e., something wrong else where
trigger this), then it's just bad design choice in ajc.  In any case,
this *is* the first error msg I got from ajc.

Thanks for any spotting,

-Shin
Oliver Wong - 02 Dec 2005 20:27 GMT
> Hi all,
>
[quoted text clipped - 12 lines]
>
> Thanks for any spotting,

   I don't know much about AspectJ, but it sounds like you suspect this to
be a bug in the compiler. If so, you may wish to try an alternate compiler,
abc, and see if this latter one accepts your code.

http://abc.comlab.ox.ac.uk/introduction

abc is supposed to be "almost compatible" with ajc. The differences are
listed at:

http://abc.comlab.ox.ac.uk/differences

   - Oliver


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.