org.aspectj/tests/bugs/binaryCompat/TraceRE.aj
jhugunin 9e3a03d726 tests for Bugzilla Bug 50641
Better binary compatibility for advice method names
2004-01-26 20:57:17 +00:00

11 lines
288 B
Plaintext

aspect Trace {
public static boolean expectNoSuchMethodError = true;
before(): execution(void main(..)) { // expect an error for incompatible binary change
System.out.println("enter");
}
after() returning: execution(void doit(..)) {
System.out.println("exit");
}
}