thisJoinPoint.getSignature() -> java.lang.IncompatibleClassChangeError [message #571524] |
Tue, 30 September 2003 15:58 |
Maximilian Stoerzer Messages: 4 Registered: July 2009 |
Junior Member |
|
|
Hi everybody!
I have a problem using the thisJoinPoint construct when calling
getSignature(). Unfortunately, I always get a
IncompatibleClassChangeError. Here is an example:
public aspect Alpha {
pointcut test() : execution(* * (..)) && within(Foo);
after() : test() {
System.out.println(thisJoinPoint.getSignature());
}
public static void main(String[] args) {
Foo f = new Foo();
f.f();
}
}
class Foo {
void f() {
}
}
Result:
131> java -cp .../eclipse/plugins/org.aspectj.ajde_1.1.4/aspectjrt.jar:.
Alpha
Exception in thread "main" java.lang.IncompatibleClassChangeError
at Alpha.ajc$after$Alpha$54(Alpha.java:4)
at Foo.f(Alpha.java:15)
at Alpha.main(Alpha.java:9)
I am using the Eclipse AJDT plugin (1.1.4) together with Sun Java
1.4.2. on Linux (RedHat 7.1.) and WinXP.
It worked with 1.1.3 and broke after the update via Eclipse. Did I miss
any signature changes for the AspectJ API?
Can anyone help?
Thanks in advance,
Max
--
Maximilian Stoerzer
Lehrstuhl Software Systeme - FMI - University of Passau
Tel: +49 851 509 3096, eMail: stoerzer@fmi.uni-passau.de
|
|
|
Powered by
FUDForum. Page generated in 0.48023 seconds