ajc error msg

Discussion in 'Java' started by Shin, Dec 2, 2005.

  1. Shin

    Shin Guest

    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

    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, Dec 2, 2005
    1. Advertisements

  2. Shin

    Oliver Wong Guest

    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.


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


    - Oliver
    Oliver Wong, Dec 2, 2005
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.