summaryrefslogtreecommitdiffstats
path: root/tools/art
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2011-08-15 16:37:04 -0700
committerElliott Hughes <enh@google.com>2011-08-15 18:34:59 -0700
commitf2682d5a6ce0f7de58da8fd4ec8aec200c43b92e (patch)
treee7669f0833a588eb5231fb4452bbac091cc5037e /tools/art
parent0d666d8769714dcbc2acc4dd5b06f0deffa6e0a1 (diff)
downloadart-f2682d5a6ce0f7de58da8fd4ec8aec200c43b92e.tar.gz
art-f2682d5a6ce0f7de58da8fd4ec8aec200c43b92e.tar.bz2
art-f2682d5a6ce0f7de58da8fd4ec8aec200c43b92e.zip
Fix the invocation interface.
Previously, we just cast the Runtime* to a JavaVM*, which blew up as soon as the caller tried to use their supposed JavaVM*. This also implements NewObjectArray. Running aexecd on the host, this gets us as far as not having an x86 CreateInvokeStub... Change-Id: Iba5f148797d053fba1c69af99b20508ea6aff5cb
Diffstat (limited to 'tools/art')
-rwxr-xr-xtools/art4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/art b/tools/art
index ab252ebf9..8033c5199 100755
--- a/tools/art
+++ b/tools/art
@@ -18,9 +18,11 @@ mkdir -p /tmp/android-data/art-cache
ANDROID_DATA=/tmp/android-data \
ANDROID_ROOT=$ANDROID_BUILD_TOP/out/host/linux-x86 \
LD_LIBRARY_PATH=$ANDROID_BUILD_TOP/out/host/linux-x86/lib \
-$ANDROID_BUILD_TOP/out/host/linux-x86/bin/aexecd \
+$ANDROID_BUILD_TOP/out/host/linux-x86/bin/aexec \
-Xbootclasspath\
:$ANDROID_BUILD_TOP/out/host/linux-x86/framework/core-hostdex.jar\
+:$ANDROID_BUILD_TOP/out/host/linux-x86/framework/core-junit-hostdex.jar\
+:$ANDROID_BUILD_TOP/out/host/linux-x86/framework/core-tests-hostdex.jar\
:$ANDROID_BUILD_TOP/out/host/linux-x86/framework/bouncycastle-hostdex.jar\
:$ANDROID_BUILD_TOP/out/host/linux-x86/framework/apache-xml-hostdex.jar \
$*