]> source.dussan.org Git - aspectj.git/commitdiff
260384: Literal.FALSE and clone()
authoraclement <aclement>
Tue, 13 Jan 2009 20:30:08 +0000 (20:30 +0000)
committeraclement <aclement>
Tue, 13 Jan 2009 20:30:08 +0000 (20:30 +0000)
tests/bugs164/pr260384/D.java [new file with mode: 0644]
tests/src/org/aspectj/systemtest/ajc164/Ajc164Tests.java
tests/src/org/aspectj/systemtest/ajc164/ajc164.xml

diff --git a/tests/bugs164/pr260384/D.java b/tests/bugs164/pr260384/D.java
new file mode 100644 (file)
index 0000000..25381cb
--- /dev/null
@@ -0,0 +1,12 @@
+public class D {
+       public void m() throws Exception {
+               clone();
+       }
+}
+
+class E {}
+
+aspect X {
+  before(): target(E) { }
+}
+
index 7e2286fa141143502c39d0c0151f7f61074ba6b1..43304153e356b7987248e14721fc2bf515ae94ff 100644 (file)
@@ -30,6 +30,10 @@ public class Ajc164Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
                runTest("compiling spring - 3");
        }
        
+       public void testCompilingSpring_pr260384_4() {
+               runTest("compiling spring - 4");
+       }
+       
        public void testAtAspectJDecp_pr164016() {
                runTest("ataspectj decp 164016");
        }
index 6b44c4ce658c00fa6b1176ceaae2563f572b7c70..768c30d1f8d52a4efc32a3894026cbdf92fe46bb 100644 (file)
@@ -2,10 +2,6 @@
 
 <suite>
     
-    <ajc-test dir="bugs164/pr260384" title="compiling spring - 3">
-      <compile files="C.java" options="-1.5 -emacssym"/>
-    </ajc-test>    
-    
     <ajc-test dir="bugs164/pr260384" title="compiling spring">
       <compile files="Broken.java" options="-1.5">
       </compile>
       </compile>
     </ajc-test>    
     
+    <ajc-test dir="bugs164/pr260384" title="compiling spring - 3">
+      <compile files="C.java" options="-1.5 -emacssym"/>
+    </ajc-test>    
+    
+    <ajc-test dir="bugs164/pr260384" title="compiling spring - 4">
+      <compile files="D.java" options="-1.5">
+      </compile>
+    </ajc-test>    
+    
     <ajc-test dir="bugs164/pr164016" title="ataspectj decp 164016">
       <compile files="Code.aj" options="-1.5"/>
       <run class="test.Code"/>