Working Java8 build!

- Split the AspectJ testcode out of the general testdata project.
- Adjusted tests to handle that JDT produces different code to AspectJ.
- Modified some tests to work better with javac compiled testdata (which
  is what happens when building on the command line or build machine)
This commit is contained in:
Andy Clement
2014-02-20 09:13:14 -08:00
parent 526a4d0901
commit e400e2da63
20 changed files with 140 additions and 55 deletions

View File

@@ -1,13 +0,0 @@
package data;
public aspect AnAspect {
before(): execution(!static * AspectReceiver.*(..)) {
System.out.println("Foo");
}
pointcut boo(String foo,String bar): execution(* *(..)) && args(foo,bar);
before(String foo): boo(foo,*) {
}
}

View File

@@ -1,15 +0,0 @@
package data;
public class AspectReceiver {
public static void main2() {
main(null);
}
public static void main(String[] args) {
new AspectReceiver().foo();
}
public void foo() {
}
}