]> source.dussan.org Git - aspectj.git/commitdiff
test for 119543
authoraclement <aclement>
Wed, 7 Dec 2005 17:15:13 +0000 (17:15 +0000)
committeraclement <aclement>
Wed, 7 Dec 2005 17:15:13 +0000 (17:15 +0000)
tests/bugs150/PR119543.java [new file with mode: 0644]
tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java

diff --git a/tests/bugs150/PR119543.java b/tests/bugs150/PR119543.java
new file mode 100644 (file)
index 0000000..df9eca3
--- /dev/null
@@ -0,0 +1,15 @@
+public class PR119543 {
+       
+       public abstract static aspect A<T> {
+               
+               private pointcut caching();
+               private pointcut permitted();
+               
+               before() : caching() {
+               }
+       }
+       
+       static aspect A1 extends A<String> {                            
+       }
+
+}
index 3e7cb76d8eb95fbe9b3bb7ff33ca4c8aee07ffa5..80bcd4907ab2a5d465be11d675bff765215ba833 100644 (file)
@@ -42,6 +42,9 @@ public class Ajc150Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
     return new File("../tests/src/org/aspectj/systemtest/ajc150/ajc150.xml");
   }
 
+ // public void testGenericPTW_pr119539_1() { runTest("generic pertypewithin aspect - 1");}
+  //public void testGenericPTW_pr119539_2() { runTest("generic pertypewithin aspect - 2");}
+  //public void testGenericPTW_pr119539_3() { runTest("generic pertypewithin aspect - 3");}
   /*
   public void testBrokenDispatchByITD_pr72834() { runTest("broken dispatch");}
   public void testMissingAccessor_pr73856() { runTest("missing accessor");}
@@ -798,6 +801,10 @@ public class Ajc150Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
          runTest("no NPE with or pointcut and more than one args");
   }
   
+  public void testNoSOBWithGenericInnerAspects_pr119543() {
+         runTest("no StringOutOfBoundsException with generic inner aspects");
+  }
+  
   // helper methods.....
   
   public SyntheticRepository createRepos(File cpentry) {