From 04c679e8e06ab8295a9d6916960cdcfc1c0025af Mon Sep 17 00:00:00 2001 From: aclement Date: Fri, 25 Aug 2006 09:59:11 +0000 Subject: [PATCH] testcode for 152848 'deploying generics code when non-generics types are about' --- tests/bugs153/pr152848/AnAspect.java | 3 +++ tests/bugs153/pr152848/BaseType.java | 3 +++ tests/bugs153/pr152848/PairGeneric.java | 1 + tests/bugs153/pr152848/PairNormal.java | 1 + tests/src/org/aspectj/systemtest/ajc153/ajc153.xml | 7 +++++++ 5 files changed, 15 insertions(+) create mode 100644 tests/bugs153/pr152848/AnAspect.java create mode 100644 tests/bugs153/pr152848/BaseType.java create mode 100644 tests/bugs153/pr152848/PairGeneric.java create mode 100644 tests/bugs153/pr152848/PairNormal.java diff --git a/tests/bugs153/pr152848/AnAspect.java b/tests/bugs153/pr152848/AnAspect.java new file mode 100644 index 000000000..f3784ddc3 --- /dev/null +++ b/tests/bugs153/pr152848/AnAspect.java @@ -0,0 +1,3 @@ +public aspect AnAspect { + before(): staticinitialization(*) {} +} diff --git a/tests/bugs153/pr152848/BaseType.java b/tests/bugs153/pr152848/BaseType.java new file mode 100644 index 000000000..66e907a43 --- /dev/null +++ b/tests/bugs153/pr152848/BaseType.java @@ -0,0 +1,3 @@ +public class BaseType { + Pair foo; +} diff --git a/tests/bugs153/pr152848/PairGeneric.java b/tests/bugs153/pr152848/PairGeneric.java new file mode 100644 index 000000000..76878cc73 --- /dev/null +++ b/tests/bugs153/pr152848/PairGeneric.java @@ -0,0 +1 @@ +class Pair {} diff --git a/tests/bugs153/pr152848/PairNormal.java b/tests/bugs153/pr152848/PairNormal.java new file mode 100644 index 000000000..2484ed83d --- /dev/null +++ b/tests/bugs153/pr152848/PairNormal.java @@ -0,0 +1 @@ +class Pair {} diff --git a/tests/src/org/aspectj/systemtest/ajc153/ajc153.xml b/tests/src/org/aspectj/systemtest/ajc153/ajc153.xml index b1910ee63..68bd94185 100644 --- a/tests/src/org/aspectj/systemtest/ajc153/ajc153.xml +++ b/tests/src/org/aspectj/systemtest/ajc153/ajc153.xml @@ -3,6 +3,13 @@ + + + + + + + -- 2.39.5