Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] java.lang.IllegalAccessError

What is the precise stack trace?  Either the compiler should report a problem with what you are doing or it should work - an IllegalAccessError coming out at runtime suggests a bug.

Andy.

2008/10/24 Mauro Baluda <mauro@xxxxxxxx>
I'm trying to match calls to
javax.el.CompositeELResolver.FeatureIterator.next() with the following
aspect

public privileged aspect CompositeELResolver_FeatureIterator_next{
       after() returning(Object retVal): !cflow(adviceexecution()) && call(*
*.next(..)) && target(javax.el.CompositeELResolver.FeatureIterator){
                       System.err.println("MATCH");
       }
}

but I provoke an IllegalAccessError...
FeatureIterator is a private inner class but It isn' t a problem in
other similar cases

any Idea on how to avoid it?

thanks,
Mauro
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users


Back to the top