Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » thisJoinPoint.getSignature() -> java.lang.IncompatibleClassChangeError
thisJoinPoint.getSignature() -> java.lang.IncompatibleClassChangeError [message #571524] Tue, 30 September 2003 15:58
Maximilian Stoerzer is currently offline Maximilian StoerzerFriend
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
Previous Topic:AJDT 1.1.4 Announce
Next Topic:!!!!!BUG,Help OutOfMemoryError, When ajdt compile java ---
Goto Forum:
  


Current Time: Thu Apr 25 20:36:29 GMT 2024

Powered by FUDForum. Page generated in 0.03439 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top