aboutsummaryrefslogtreecommitdiffstats
path: root/weaver5/java5-testsrc
diff options
context:
space:
mode:
authoraclement <aclement>2005-11-23 16:30:16 +0000
committeraclement <aclement>2005-11-23 16:30:16 +0000
commit5cba2054c0bbfb4bdf2f00f044e841741055282c (patch)
treeb27497f6572f0c84572fd4d6f124d683ab523825 /weaver5/java5-testsrc
parenta4caeb95261431c81f7beb0cddbff3b0865e614d (diff)
downloadaspectj-5cba2054c0bbfb4bdf2f00f044e841741055282c.tar.gz
aspectj-5cba2054c0bbfb4bdf2f00f044e841741055282c.zip
some fixes for 117622
Diffstat (limited to 'weaver5/java5-testsrc')
-rw-r--r--weaver5/java5-testsrc/org/aspectj/weaver/TestJava5ReflectionBasedReferenceTypeDelegate.java25
1 files changed, 25 insertions, 0 deletions
diff --git a/weaver5/java5-testsrc/org/aspectj/weaver/TestJava5ReflectionBasedReferenceTypeDelegate.java b/weaver5/java5-testsrc/org/aspectj/weaver/TestJava5ReflectionBasedReferenceTypeDelegate.java
new file mode 100644
index 000000000..450d00c6d
--- /dev/null
+++ b/weaver5/java5-testsrc/org/aspectj/weaver/TestJava5ReflectionBasedReferenceTypeDelegate.java
@@ -0,0 +1,25 @@
+package org.aspectj.weaver;
+
+import org.aspectj.weaver.reflect.ReflectionBasedReferenceTypeDelegateTest;
+
+public class TestJava5ReflectionBasedReferenceTypeDelegate extends ReflectionBasedReferenceTypeDelegateTest {
+
+ public void testResolveGeneric() {
+ UnresolvedType collectionType = UnresolvedType.forName("java.util.Collection<E>");
+// ResolvedType rt= world.resolve(collectionType);
+// ResolvedMember[] methods = world.resolve(collectionType).getDeclaredMethods();
+// assertTrue(findMethod("toArray", methods) != -1);
+ }
+
+ public void testResolveClass() {
+ //stack overflow
+ world.resolve("java.lang.Class");
+ }
+
+ // just here to override the super one so it doesnt run in this case ;)
+ public void testGetDeclaredMethods() {
+
+ }
+
+
+}