]> source.dussan.org Git - aspectj.git/commitdiff
250632: fix (poor code tho...)
authoraclement <aclement>
Wed, 15 Oct 2008 18:39:45 +0000 (18:39 +0000)
committeraclement <aclement>
Wed, 15 Oct 2008 18:39:45 +0000 (18:39 +0000)
weaver5/java5-testsrc/org/aspectj/weaver/TestJava5ReflectionBasedReferenceTypeDelegate.java

index a1ef7cd75028147529587dd4ba895d7b74c873ec..3eb59cad69dffff0f79aca2519ea5baa77de3be6 100644 (file)
@@ -35,7 +35,7 @@ public class TestJava5ReflectionBasedReferenceTypeDelegate extends ReflectionBas
                int i = findMethod("toArray", 1, methods);
                assertTrue("Couldn't find 'toArray' in the set of methods? ", i != -1);
                // String expectedSignature = "java.lang.Object[] java.util.Collection.toArray(java.lang.Object[])";
-               String expectedSignature = "([Ljava/lang/Object;)Ljava/lang/Object;";
+               String expectedSignature = "([Ljava/lang/Object;)[Ljava/lang/Object;";
                assertTrue("Expected signature of '" + expectedSignature + "' but it was '" + methods[i].getSignatureErased(), methods[i]
                                .getSignatureErased().equals(expectedSignature));
        }