]> source.dussan.org Git - aspectj.git/commitdiff
275032: test and fix
authoraclement <aclement>
Wed, 20 May 2009 18:04:54 +0000 (18:04 +0000)
committeraclement <aclement>
Wed, 20 May 2009 18:04:54 +0000 (18:04 +0000)
tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml
tests/src/org/aspectj/systemtest/ajc150/ajc150.xml

index 54f6047032485e162c3408c399e7aeac953609c4..ff27a0437e480fa94e40e9ffb3586b09b4e0dc6b 100644 (file)
                        <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>
 
index 37a04d362f727655a6a945e0154c278ccb22b730..aed668c074dd54099dc700f50a0ee260fc4f784c 100644 (file)
         <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>