Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Possible bug

Hi!

I just came across what seems to be a bug. It affects the following code:

public class A {
void foo() {
}
private static aspect B {
before() : execution(* *(..)) {
}
}
}

Two warnings are generated:
  • In the aspect header: The type A.B is never used locally
  • In the advice header: The method b() from the type A.B is never used locally
I'm using:
  • Eclipse 3.6.1, Build id: M20100909-0800
  • AJDT 2.1.1.e36x-20101006-1400 (with AspectJ version: 1.6.10.20101003133000)

What do you think?

Manuel

--
http://www.google.com/profiles/MMSequeira

Back to the top