aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authoraclement <aclement>2005-12-07 17:15:13 +0000
committeraclement <aclement>2005-12-07 17:15:13 +0000
commita7bc19f804487d6160c5f29eec94e2442e38957e (patch)
tree7cc4e7bf8b68042516fbacb55ff0d36afb79893d /tests
parent3425506574d5bcd84e35c57434a7b9e2225b40f8 (diff)
downloadaspectj-a7bc19f804487d6160c5f29eec94e2442e38957e.tar.gz
aspectj-a7bc19f804487d6160c5f29eec94e2442e38957e.zip
test for 119543
Diffstat (limited to 'tests')
-rw-r--r--tests/bugs150/PR119543.java15
-rw-r--r--tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java7
2 files changed, 22 insertions, 0 deletions
diff --git a/tests/bugs150/PR119543.java b/tests/bugs150/PR119543.java
new file mode 100644
index 000000000..df9eca3a4
--- /dev/null
+++ b/tests/bugs150/PR119543.java
@@ -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> {
+ }
+
+}
diff --git a/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java b/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
index 3e7cb76d8..80bcd4907 100644
--- a/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
+++ b/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
@@ -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) {