summaryrefslogtreecommitdiff
path: root/test/044-proxy/src/BasicTest.java
diff options
context:
space:
mode:
author Elliott Hughes <enh@google.com> 2012-03-21 16:56:56 -0700
committer Elliott Hughes <enh@google.com> 2012-03-21 16:57:43 -0700
commit2ed52c4419dd537c98cd7898bc8bdcf8826b8940 (patch)
treee90598e39df514d8a86cbb160288b4fd563eb1c1 /test/044-proxy/src/BasicTest.java
parent051c9fc1de07bbc265af38cf60f061394163c68f (diff)
Stash the directly-implemented interfaces in Proxy so we can implement Class.getInterfaces.
Also extend test 044 to spot this (found by a libcore test). Change-Id: I50019db49c549f045d94173c3ed9ae81f05ef858
Diffstat (limited to 'test/044-proxy/src/BasicTest.java')
-rw-r--r--test/044-proxy/src/BasicTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/044-proxy/src/BasicTest.java b/test/044-proxy/src/BasicTest.java
index 8f4d19ed7e..46aa3feea2 100644
--- a/test/044-proxy/src/BasicTest.java
+++ b/test/044-proxy/src/BasicTest.java
@@ -80,6 +80,8 @@ public class BasicTest {
return o1.getReturnType().getName().compareTo(o2.getReturnType().getName());
}
});
+ System.out.println("Proxy interfaces: " +
+ Arrays.deepToString(proxy.getClass().getInterfaces()));
System.out.println("Proxy methods: " + Arrays.deepToString(methods));
Method meth = methods[methods.length -1];
System.out.println("Decl annos: " + Arrays.deepToString(meth.getDeclaredAnnotations()));