thisJoinPoint.getSignature() -> java.lang.IncompatibleClassChangeError [message #26248] |
Tue, 30 September 2003 15:58 |
Eclipse User |
|
|
|
Originally posted by: stoerzer.fmi.uni-passau.de
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
|
|
|
Re: thisJoinPoint.getSignature() -> java.lang.IncompatibleClassChangeError [message #26332 is a reply to message #26248] |
Wed, 01 October 2003 07:24 |
Eclipse User |
|
|
|
Originally posted by: stoerzer.fmi.uni-passau.de
Followup:
If compiler compliance is set to Java 1.3 in the Eclipse preference,
everything works fine, when set to 1.4, the exception occurs.
Is there an incompatibility between SunJDK 1.4.2 / Java 1.4 and AspectJ
1.1.1?
Regards,
Max
Maximilian Stoerzer wrote:
> 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
>
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02919 seconds