summaryrefslogtreecommitdiffstats
path: root/weaver/testsrc/org
diff options
context:
space:
mode:
Diffstat (limited to 'weaver/testsrc/org')
-rw-r--r--weaver/testsrc/org/aspectj/weaver/reflect/ReflectionWorldTest.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/weaver/testsrc/org/aspectj/weaver/reflect/ReflectionWorldTest.java b/weaver/testsrc/org/aspectj/weaver/reflect/ReflectionWorldTest.java
index 8f0942725..4bc879dae 100644
--- a/weaver/testsrc/org/aspectj/weaver/reflect/ReflectionWorldTest.java
+++ b/weaver/testsrc/org/aspectj/weaver/reflect/ReflectionWorldTest.java
@@ -12,6 +12,7 @@
package org.aspectj.weaver.reflect;
import org.aspectj.weaver.ResolvedType;
+import org.aspectj.weaver.UnresolvedType;
import org.aspectj.weaver.World;
import junit.framework.TestCase;
@@ -25,4 +26,11 @@ public class ReflectionWorldTest extends TestCase {
assertEquals("Ljava/lang/Object;",rt.getSignature());
}
+ public void testArrayTypes() {
+ World world = new ReflectionWorld();
+ String[] strArray = new String[1];
+ ResolvedType rt = world.resolve(UnresolvedType.forSignature(strArray.getClass().getName()));
+ assertTrue(rt.isArray());
+ }
+
}