mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-26 17:58:43 +02:00
![aclement](/assets/img/avatar_default.png)
Better binary compatibility for advice method names - I've run the tests a thousand times and they all pass, I'm still nervous about this first big commit though *gulp*
18 lines
355 B
Java
18 lines
355 B
Java
public class Main {
|
|
public static void main(String[] args) {
|
|
try {
|
|
doit();
|
|
if (Trace.expectNoSuchMethodError) {
|
|
throw new RuntimeException("expected NoSuchMethodError");
|
|
}
|
|
} catch (NoSuchMethodError e) {
|
|
if (!Trace.expectNoSuchMethodError) throw e;
|
|
}
|
|
|
|
}
|
|
|
|
private static void doit() {
|
|
System.out.println("hello world");
|
|
}
|
|
}
|