summaryrefslogtreecommitdiffstats
path: root/bcel-builder/testsrc/org
diff options
context:
space:
mode:
authoracolyer <acolyer>2005-08-24 19:20:56 +0000
committeracolyer <acolyer>2005-08-24 19:20:56 +0000
commit803616d373f1c366e133f87342b88514cc5f74c3 (patch)
tree43b3947fd8c10b79781ffcaf88b6fbe387af1435 /bcel-builder/testsrc/org
parentcc6e6812fa6908d315e2f07195bca3914438cb1a (diff)
downloadaspectj-803616d373f1c366e133f87342b88514cc5f74c3.tar.gz
aspectj-803616d373f1c366e133f87342b88514cc5f74c3.zip
fix for pr107784, failure to parse an array of a primitive type when used as a type variable
Diffstat (limited to 'bcel-builder/testsrc/org')
-rw-r--r--bcel-builder/testsrc/org/aspectj/apache/bcel/classfile/tests/GenericSignatureParserTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/bcel-builder/testsrc/org/aspectj/apache/bcel/classfile/tests/GenericSignatureParserTest.java b/bcel-builder/testsrc/org/aspectj/apache/bcel/classfile/tests/GenericSignatureParserTest.java
index 12a9f1ff1..bac45e316 100644
--- a/bcel-builder/testsrc/org/aspectj/apache/bcel/classfile/tests/GenericSignatureParserTest.java
+++ b/bcel-builder/testsrc/org/aspectj/apache/bcel/classfile/tests/GenericSignatureParserTest.java
@@ -234,6 +234,12 @@ public class GenericSignatureParserTest extends TestCase {
}
}
+ public void testPr107784() {
+ parser.parseAsMethodSignature(
+ "(Lcom/cibc/responders/mapping/CommonDataBeanScenario;Ljava/lang/Object;)Lcom/cibc/responders/response/Formatter<[BLjava/lang/Object;>;");
+ parser.parseAsClassSignature("<Parent:Ljava/lang/Object;Child:Ljava/lang/Object;>Ljava/lang/Object;");
+ }
+
private void assertEquals(String[] expected, String[] actual) {
if (actual.length != expected.length) {
int shorter = Math.min(expected.length,actual.length);