From: aclement Date: Mon, 10 Jul 2006 14:55:03 +0000 (+0000) Subject: oops! testcase bug - uncovered by work on 150095 X-Git-Tag: PRE_PIPELINE~50 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e907c49da0f7c98e72f887b17d465defc4d2e58e;p=aspectj.git oops! testcase bug - uncovered by work on 150095 --- diff --git a/weaver5/java5-testsrc/org/aspectj/weaver/TestJava5ReflectionBasedReferenceTypeDelegate.java b/weaver5/java5-testsrc/org/aspectj/weaver/TestJava5ReflectionBasedReferenceTypeDelegate.java index 530dd9844..51a040c33 100644 --- a/weaver5/java5-testsrc/org/aspectj/weaver/TestJava5ReflectionBasedReferenceTypeDelegate.java +++ b/weaver5/java5-testsrc/org/aspectj/weaver/TestJava5ReflectionBasedReferenceTypeDelegate.java @@ -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)); }