From e907c49da0f7c98e72f887b17d465defc4d2e58e Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 10 Jul 2006 14:55:03 +0000 Subject: [PATCH] oops! testcase bug - uncovered by work on 150095 --- .../weaver/TestJava5ReflectionBasedReferenceTypeDelegate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } -- 2.39.5