From 199299c195c2e24edab2990e1cb9004b2d712ac3 Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 28 Apr 2011 15:36:50 +0000 Subject: [PATCH] 327134 --- tests/bugs1612/pr327134/Code.java | 16 ++++++++++++++++ .../aspectj/systemtest/ajc1612/Ajc1612Tests.java | 4 ++++ .../org/aspectj/systemtest/ajc1612/ajc1612.xml | 5 +++++ 3 files changed, 25 insertions(+) create mode 100644 tests/bugs1612/pr327134/Code.java diff --git a/tests/bugs1612/pr327134/Code.java b/tests/bugs1612/pr327134/Code.java new file mode 100644 index 000000000..588e5b12d --- /dev/null +++ b/tests/bugs1612/pr327134/Code.java @@ -0,0 +1,16 @@ +import java.util.*; +import java.io.*; + +interface IVOList extends List, Externalizable, Serializable { + void updateList(List newList); +} + +interface IValueObject extends Comparable, Serializable { + +} + +aspect Foo { + @SuppressWarnings("rawtypes") + pointcut IVOListUpdate(IVOList list): target(list) && call(void updateList(*)); +} + diff --git a/tests/src/org/aspectj/systemtest/ajc1612/Ajc1612Tests.java b/tests/src/org/aspectj/systemtest/ajc1612/Ajc1612Tests.java index 51b4cf5e1..a3cb6108d 100644 --- a/tests/src/org/aspectj/systemtest/ajc1612/Ajc1612Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc1612/Ajc1612Tests.java @@ -21,6 +21,10 @@ import org.aspectj.testing.XMLBasedAjcTestCase; */ public class Ajc1612Tests extends org.aspectj.testing.XMLBasedAjcTestCase { + public void testRawTypePointcut_327134() { + runTest("rawtype pointcut"); + } + public void testRawTypeWarning_335810() { runTest("rawtype warning"); } diff --git a/tests/src/org/aspectj/systemtest/ajc1612/ajc1612.xml b/tests/src/org/aspectj/systemtest/ajc1612/ajc1612.xml index 18b986645..a413a1232 100644 --- a/tests/src/org/aspectj/systemtest/ajc1612/ajc1612.xml +++ b/tests/src/org/aspectj/systemtest/ajc1612/ajc1612.xml @@ -7,6 +7,11 @@ + + + + + -- 2.39.5