diff options
Diffstat (limited to 'tests/incremental')
-rw-r--r-- | tests/incremental/interPackage/src/lib/Lib.java | 2 | ||||
-rw-r--r-- | tests/incremental/stringliteral/src/TraceMains.java | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/incremental/interPackage/src/lib/Lib.java b/tests/incremental/interPackage/src/lib/Lib.java index ec9ffe351..8ac8a0172 100644 --- a/tests/incremental/interPackage/src/lib/Lib.java +++ b/tests/incremental/interPackage/src/lib/Lib.java @@ -2,6 +2,8 @@ package lib; public class Lib { + public static void main(String[] args) { + } public static void f(){} } diff --git a/tests/incremental/stringliteral/src/TraceMains.java b/tests/incremental/stringliteral/src/TraceMains.java index 3c9a49bab..a2e7f9a39 100644 --- a/tests/incremental/stringliteral/src/TraceMains.java +++ b/tests/incremental/stringliteral/src/TraceMains.java @@ -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)); } |