diff options
author | Ian Rogers <irogers@google.com> | 2011-10-14 03:29:56 -0700 |
---|---|---|
committer | Ian Rogers <irogers@google.com> | 2011-10-14 21:45:27 -0700 |
commit | 466bb25416b88fabd5d4387b7c7e5cc1ece78b8c (patch) | |
tree | 8d0952cbd850f1d0ac2e43a8372ce571fb4982d1 /test/044-proxy/expected.txt | |
parent | a10cd94bb77ed66fa0a8b66141c4504045c92d30 (diff) | |
download | art-466bb25416b88fabd5d4387b7c7e5cc1ece78b8c.tar.gz art-466bb25416b88fabd5d4387b7c7e5cc1ece78b8c.tar.bz2 art-466bb25416b88fabd5d4387b7c7e5cc1ece78b8c.zip |
Proxy implementation
This rounds out the proxy implementation by adding missing pieces to the
class linker, extending tests and fixing issues in the runtime support.
There are also some tweaks for performance and to clean up Method/Object
a little.
A unit test of the functionality is "art/test/run-test 044"
Change-Id: Id94102d10b81cd9b12b95ba8618f6187490204c4
Diffstat (limited to 'test/044-proxy/expected.txt')
-rw-r--r-- | test/044-proxy/expected.txt | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/test/044-proxy/expected.txt b/test/044-proxy/expected.txt index 4be26cf714..27771ce7c5 100644 --- a/test/044-proxy/expected.txt +++ b/test/044-proxy/expected.txt @@ -1,3 +1,7 @@ +ReturnsAndArgPassing.testProxyReturns RUNNING +ReturnsAndArgPassing.testProxyReturns PASSED +ReturnsAndArgPassing.testProxyArgPassing RUNNING +ReturnsAndArgPassing.testProxyArgPassing PASSED Invoke public abstract void Shapes.circle(int) 0: 3 --- circle 3 @@ -45,10 +49,10 @@ Invoke public abstract void Shapes.upCheck() throws java.lang.InterruptedExcepti (no args) Got expected ie -Proxy methods: [public native boolean $Proxy0.equals(java.lang.Object), public native int $Proxy0.hashCode(), public native java.lang.String $Proxy0.toString(), public native int $Proxy0.rectangle(int,int), public native int $Proxy0.square(int,int), public native int $Proxy0.trapezoid(int,double,int), public native java.lang.String $Proxy0.blob(), public native void $Proxy0.circle(int), public native void $Proxy0.upCheck(), public native void $Proxy0.upChuck(), public native double $Proxy0.blue(int), public native R0aa $Proxy0.checkMe(), public native int $Proxy0.green(double), public native int $Proxy0.mauve(java.lang.String), public native int $Proxy0.red(float)] +Proxy methods: [public final java.lang.String $Proxy1.blob(), public final double $Proxy1.blue(int), public final R0a $Proxy1.checkMe(), public final R0base $Proxy1.checkMe(), public final R0aa $Proxy1.checkMe(), public final void $Proxy1.circle(int), public final boolean $Proxy1.equals(java.lang.Object), public final int $Proxy1.green(double), public final int $Proxy1.hashCode(), public final int $Proxy1.mauve(java.lang.String), public final int $Proxy1.rectangle(int,int), public final int $Proxy1.red(float), public final int $Proxy1.square(int,int), public final java.lang.String $Proxy1.toString(), public final int $Proxy1.trapezoid(int,double,int), public final void $Proxy1.upCheck() throws java.lang.InterruptedException, public final void $Proxy1.upChuck()] Decl annos: [] -Param annos (1) : [[]] -Proxy fields: [private static java.lang.Throwable[][] $Proxy0.throws] +Param annos (0) : [] +Proxy fields: [private static java.lang.reflect.Method $Proxy1.m0, private static java.lang.reflect.Method $Proxy1.m1, private static java.lang.reflect.Method $Proxy1.m10, private static java.lang.reflect.Method $Proxy1.m11, private static java.lang.reflect.Method $Proxy1.m12, private static java.lang.reflect.Method $Proxy1.m13, private static java.lang.reflect.Method $Proxy1.m14, private static java.lang.reflect.Method $Proxy1.m15, private static java.lang.reflect.Method $Proxy1.m16, private static java.lang.reflect.Method $Proxy1.m2, private static java.lang.reflect.Method $Proxy1.m3, private static java.lang.reflect.Method $Proxy1.m4, private static java.lang.reflect.Method $Proxy1.m5, private static java.lang.reflect.Method $Proxy1.m6, private static java.lang.reflect.Method $Proxy1.m7, private static java.lang.reflect.Method $Proxy1.m8, private static java.lang.reflect.Method $Proxy1.m9] Dupe threw expected exception Clash threw expected exception Clash2 threw expected exception |