aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authoraclement <aclement>2009-05-20 18:04:54 +0000
committeraclement <aclement>2009-05-20 18:04:54 +0000
commitb10573ed2e80fdb18df0eed3f85b07b25e60d197 (patch)
tree70076849568be5d75d0e173f6acb038537d84e7b /tests
parentbb59ce3cd1d8ada07aeeaeb51006df8ca39a7abe (diff)
downloadaspectj-b10573ed2e80fdb18df0eed3f85b07b25e60d197.tar.gz
aspectj-b10573ed2e80fdb18df0eed3f85b07b25e60d197.zip
275032: test and fix
Diffstat (limited to 'tests')
-rw-r--r--tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml2
-rw-r--r--tests/src/org/aspectj/systemtest/ajc150/ajc150.xml2
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml b/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml
index 54f604703..ff27a0437 100644
--- a/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml
+++ b/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml
@@ -337,6 +337,8 @@
<message kind="error" line="5" text="conflicts with existing member"/>
<message kind="error" line="10" text="conflicts with existing member"/>
<message kind="error" line="14" text="conflicts with existing member"/>
+ <!-- new error expected due to 275032 change - the itd for the ctor will be ignored in the clash case -->
+ <message kind="error" line="41" text="The constructor A() is not visible"/>
</compile>
</ajc-test>
diff --git a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml
index 37a04d362..aed668c07 100644
--- a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml
+++ b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml
@@ -1246,6 +1246,8 @@
<compile files="p2/pr99125.aj,p/I.java,p/J.java"/> <!-- actually in package p, introduces incompatible change -->
<compile files="Aspects.aj" options="-inpath p">
<message kind="error" line="7" text="inter-type declaration from X conflicts with existing member"/>
+ <!-- 275032 - new error at affected member location too -->
+ <message kind="error" line="10" text="inter-type declaration from X conflicts with existing member"/>
</compile>
</ajc-test>