aboutsummaryrefslogtreecommitdiffstats
path: root/tests/new/RecognizeAspectCE.java
diff options
context:
space:
mode:
authoracolyer <acolyer>2004-01-13 11:27:59 +0000
committeracolyer <acolyer>2004-01-13 11:27:59 +0000
commit19ed0a21b822004f6f2c688518c4230965a3b512 (patch)
tree5680a8ccc55b3d2bbe634b38717d08dc6328f214 /tests/new/RecognizeAspectCE.java
parent346fd1c4acfa5360e1a71aa171da283251ef99bf (diff)
downloadaspectj-19ed0a21b822004f6f2c688518c4230965a3b512.tar.gz
aspectj-19ed0a21b822004f6f2c688518c4230965a3b512.zip
move to Eclipse 3.0 M6 JDT core (v_396). Also makes 1.4 the
default mode (inherited behaviour from JDT).
Diffstat (limited to 'tests/new/RecognizeAspectCE.java')
-rw-r--r--tests/new/RecognizeAspectCE.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/new/RecognizeAspectCE.java b/tests/new/RecognizeAspectCE.java
index a84effb04..92fb6df1c 100644
--- a/tests/new/RecognizeAspectCE.java
+++ b/tests/new/RecognizeAspectCE.java
@@ -1,7 +1,7 @@
// PR#457
class RecognizeAspectCE {
public static void main(String[] ignore) { }
- pointcut mumble() // would like error here: "pointcuts not allowed in classes - use aspect"
- : execution(public static void RecognizeAspectCE.main(String[]));
- before(): mumble() { } // ok: get error here: constructor has the wrong name
+// pointcut mumble()
+// : execution(public static void RecognizeAspectCE.main(String[]));
+ before(): this(*) { } // ok: get error here: constructor has the wrong name
}