aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authoracolyer <acolyer>2005-03-09 17:22:53 +0000
committeracolyer <acolyer>2005-03-09 17:22:53 +0000
commita5e1a73048c9d8edf8834ec2ec34dc29ac61a31c (patch)
treea6fabf5310abd580ae320ecd40adde102bf884e9 /tests
parent4ca8479d63c935c1942a41b31d7f6a0a26781dd3 (diff)
downloadaspectj-a5e1a73048c9d8edf8834ec2ec34dc29ac61a31c.tar.gz
aspectj-a5e1a73048c9d8edf8834ec2ec34dc29ac61a31c.zip
fix for varargs example in AJDK - 9 failing tests now left in Ajc150...
Diffstat (limited to 'tests')
-rw-r--r--tests/java5/varargs/ajdk/AJDKExamples.aj1
-rw-r--r--tests/src/org/aspectj/systemtest/ajc150/ajc150.xml8
2 files changed, 5 insertions, 4 deletions
diff --git a/tests/java5/varargs/ajdk/AJDKExamples.aj b/tests/java5/varargs/ajdk/AJDKExamples.aj
index 422b10ede..8205d6eda 100644
--- a/tests/java5/varargs/ajdk/AJDKExamples.aj
+++ b/tests/java5/varargs/ajdk/AJDKExamples.aj
@@ -1,3 +1,4 @@
+import org.xyz.*;
public aspect AJDKExamples {
declare warning : call(* org.xyz.*.*(int, String...)) : "call vararg match";
diff --git a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml
index 094ddf858..1cda2c53f 100644
--- a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml
+++ b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml
@@ -1220,13 +1220,13 @@
<message kind="warning" line="14" text="execution vararg match"/>
<message kind="warning" line="5" text="init vararg match"/>
<message kind="warning" line="6" text="init vararg match"/>
- <message kind="warning" line="26" text="single vararg"/>
- <message kind="warning" line="27" text="single String[]"/>
- <message kind="warning" line="17" text="single String[]"/>
+ <message kind="warning" line="27" text="single vararg"/>
+ <message kind="warning" line="28" text="single String[]"/>
+ <message kind="warning" line="18" text="single String[]"/>
</compile>
<run class="AJDKExamples">
<stdout>
- <line text="Matched at xxx"/>
+ <line text="Matched at call(void X.foo(int, String[]))"/>
</stdout>
</run>
</ajc-test>