]> source.dussan.org Git - aspectj.git/commitdiff
oops! testcase bug - uncovered by work on 150095
authoraclement <aclement>
Mon, 10 Jul 2006 14:55:03 +0000 (14:55 +0000)
committeraclement <aclement>
Mon, 10 Jul 2006 14:55:03 +0000 (14:55 +0000)
weaver5/java5-testsrc/org/aspectj/weaver/TestJava5ReflectionBasedReferenceTypeDelegate.java

index 530dd984455ad26efec0aef7a4e6660a1a8603ac..51a040c337e6f94a2cd5a96d26b1f26cf0fc709f 100644 (file)
@@ -23,7 +23,7 @@ public class TestJava5ReflectionBasedReferenceTypeDelegate extends ReflectionBas
                ResolvedMember[] methods = world.resolve(collectionType).getDeclaredMethods();
                int i = findMethod("toArray", 1, methods);
                assertTrue("Couldn't find 'toArray' in the set of methods? "+methods,i != -1);
-               String expectedSignature = "T[] java.util.Collection.toArray(T[])";
+               String expectedSignature = "java.lang.Object[] java.util.Collection.toArray(java.lang.Object[])";
                assertTrue("Expected signature of '"+expectedSignature+"' but it was '"+methods[i],methods[i].toString().equals(expectedSignature));
        }