From 71e9eb0193883c01669eaa9c874330381899b54b Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 13 Apr 2010 20:19:48 +0000 Subject: [PATCH] 308773 --- tests/bugs169/pr308773/Aspy.aj | 4 ++++ tests/bugs169/pr308773/Middle.java | 3 +++ tests/bugs169/pr308773/Top.java | 5 +++++ tests/bugs169/pr308773/Zzz.java | 6 ++++++ tests/src/org/aspectj/systemtest/ajc169/Ajc169Tests.java | 4 ++++ tests/src/org/aspectj/systemtest/ajc169/ajc169.xml | 4 ++++ 6 files changed, 26 insertions(+) create mode 100644 tests/bugs169/pr308773/Aspy.aj create mode 100644 tests/bugs169/pr308773/Middle.java create mode 100644 tests/bugs169/pr308773/Top.java create mode 100644 tests/bugs169/pr308773/Zzz.java diff --git a/tests/bugs169/pr308773/Aspy.aj b/tests/bugs169/pr308773/Aspy.aj new file mode 100644 index 000000000..f9fa3ec3d --- /dev/null +++ b/tests/bugs169/pr308773/Aspy.aj @@ -0,0 +1,4 @@ + +public aspect Aspy { + before(): call(* *(..)) { } +} diff --git a/tests/bugs169/pr308773/Middle.java b/tests/bugs169/pr308773/Middle.java new file mode 100644 index 000000000..08a894d0a --- /dev/null +++ b/tests/bugs169/pr308773/Middle.java @@ -0,0 +1,3 @@ +public abstract class Middle extends Top { + class IteratorImpl extends TopInner { } +} diff --git a/tests/bugs169/pr308773/Top.java b/tests/bugs169/pr308773/Top.java new file mode 100644 index 000000000..ef94dfc69 --- /dev/null +++ b/tests/bugs169/pr308773/Top.java @@ -0,0 +1,5 @@ +public class Top { + class TopInner { + public void hhh() { } + } +} diff --git a/tests/bugs169/pr308773/Zzz.java b/tests/bugs169/pr308773/Zzz.java new file mode 100644 index 000000000..752e3aeda --- /dev/null +++ b/tests/bugs169/pr308773/Zzz.java @@ -0,0 +1,6 @@ +public abstract class Zzz extends Middle { + void removeAll() { + IteratorImpl it = new IteratorImpl(); + it.hhh(); + } +} diff --git a/tests/src/org/aspectj/systemtest/ajc169/Ajc169Tests.java b/tests/src/org/aspectj/systemtest/ajc169/Ajc169Tests.java index a48736be5..2a51db99a 100644 --- a/tests/src/org/aspectj/systemtest/ajc169/Ajc169Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc169/Ajc169Tests.java @@ -29,6 +29,10 @@ public class Ajc169Tests extends org.aspectj.testing.XMLBasedAjcTestCase { // public void testAdvisingPrivilegedAccessMethod_307147() { // runTest("advising privileged access method"); // } + + public void testSubtleGenericsIssue_308773() { + runTest("subtle generics problem"); + } public void testAdvisingPrivilegedAccessMember_307120() { runTest("advising privileged access member"); diff --git a/tests/src/org/aspectj/systemtest/ajc169/ajc169.xml b/tests/src/org/aspectj/systemtest/ajc169/ajc169.xml index fd5250e71..8a83d5bc4 100644 --- a/tests/src/org/aspectj/systemtest/ajc169/ajc169.xml +++ b/tests/src/org/aspectj/systemtest/ajc169/ajc169.xml @@ -2,6 +2,10 @@ + + + + -- 2.39.5