aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/org/aspectj/systemtest
diff options
context:
space:
mode:
authoracolyer <acolyer>2006-02-03 11:00:46 +0000
committeracolyer <acolyer>2006-02-03 11:00:46 +0000
commitf856b9d877b394ff0b8b9920b18f36aae26ad23b (patch)
tree908190b6a2252a2c14188c49e7c6f30617d51cef /tests/src/org/aspectj/systemtest
parent03bb056c7decd47d5b53081e7d91b389b18835e9 (diff)
downloadaspectj-f856b9d877b394ff0b8b9920b18f36aae26ad23b.tar.gz
aspectj-f856b9d877b394ff0b8b9920b18f36aae26ad23b.zip
Progress on: Bug 126316: Invalid method signature: Pjava/lang/Enum<Ljava/lang/Object;>;
https://bugs.eclipse.org/bugs/show_bug.cgi?id=126316 --> fix and test case
Diffstat (limited to 'tests/src/org/aspectj/systemtest')
-rw-r--r--tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java4
-rw-r--r--tests/src/org/aspectj/systemtest/ajc151/ajc151.xml3
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java b/tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
index d47e36d8f..c2080edb9 100644
--- a/tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
+++ b/tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java
@@ -70,6 +70,10 @@ public class Ajc151Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
// the argument is org.aspectj.lang.JoinPoint, check that this is added
assertFalse("printParameters method should have arguments",pe2.getParameterTypes().isEmpty());
}
+
+ public void testParameterizedEnum_pr126316() {
+ runTest("E extends Enum(E) again");
+ }
/*
* @AspectJ bugs and enhancements
diff --git a/tests/src/org/aspectj/systemtest/ajc151/ajc151.xml b/tests/src/org/aspectj/systemtest/ajc151/ajc151.xml
index 7d5a966c2..5898a17a4 100644
--- a/tests/src/org/aspectj/systemtest/ajc151/ajc151.xml
+++ b/tests/src/org/aspectj/systemtest/ajc151/ajc151.xml
@@ -138,6 +138,9 @@
</compile>
</ajc-test>
+ <ajc-test dir="bugs151" title="E extends Enum(E) again">
+ <compile files="Pr126316.aj" options="-1.5"/>
+ </ajc-test>
<!-- New features down here... when they arent big enough to have their own test file -->