org.aspectj/tests/bugs/pr53981/Proceeding3.aj
acolyer 05dabd1821 fix for Bugzilla Bug 53981
proceed used as method name in around advice
2004-08-10 13:22:08 +00:00

14 lines
407 B
Plaintext

import org.aspectj.testing.Tester;
public class Proceeding3 {
public static void main(String[] args) {
}
static aspect A {
void around() : execution(void main(String[])) {
proceed(); // special form or Proceeding.proceed()?
}
}
void proceed() {
Tester.checkFailed("A bare call to proceed inside around advice should never refer to a method");
}
}