From a7bc19f804487d6160c5f29eec94e2442e38957e Mon Sep 17 00:00:00 2001 From: aclement Date: Wed, 7 Dec 2005 17:15:13 +0000 Subject: [PATCH] test for 119543 --- tests/bugs150/PR119543.java | 15 +++++++++++++++ .../aspectj/systemtest/ajc150/Ajc150Tests.java | 7 +++++++ 2 files changed, 22 insertions(+) create mode 100644 tests/bugs150/PR119543.java 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 { + + private pointcut caching(); + private pointcut permitted(); + + before() : caching() { + } + } + + static aspect A1 extends A { + } + +} 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) { -- 2.39.5