]> source.dussan.org Git - aspectj.git/commitdiff
test source upgrades for new and old tests
authorwisberg <wisberg>
Fri, 9 May 2003 22:53:01 +0000 (22:53 +0000)
committerwisberg <wisberg>
Fri, 9 May 2003 22:53:01 +0000 (22:53 +0000)
tests/incremental/interPackage/src/lib/Lib.java
tests/incremental/stringliteral/src/TraceMains.java

index ec9ffe351178c6a9866a0759801456679ce70db6..8ac8a01726aea62489cfb83e5f5a5d0f2e008550 100644 (file)
@@ -2,6 +2,8 @@
 package lib;
 
 public class Lib {
+    public static void main(String[] args) {
+    }
        public static void f(){}
 }
 
index 3c9a49babe7269da11e13c9d695c7e9e1b9e0224..a2e7f9a39e4d8ddcfcfeae687388b3898174c75a 100644 (file)
@@ -9,6 +9,8 @@ public aspect TraceMains {
     before() : execution(static void main(String[])) {
         Tester.event("before main " + className(thisJoinPointStaticPart));
     }
+    // this event is submitted after the Tester does its check,
+    // so it is ignored.
     after() returning: execution(static void main(String[])) {
         Tester.event("after main " + className(thisJoinPointStaticPart));
     }