diff options
author | jeffhao <jeffhao@google.com> | 2011-10-19 13:46:09 -0700 |
---|---|---|
committer | jeffhao <jeffhao@google.com> | 2011-10-19 15:24:08 -0700 |
commit | c393a4f7c91534ac41a81d66b12c22e68df28fc7 (patch) | |
tree | 7c0fbc951c448be0b2ccccbfe323afc80efa2d6f /test/071-dexfile | |
parent | 1cb66f5f569a3c631d940d8bd10f7466e5e5ed29 (diff) | |
download | art-c393a4f7c91534ac41a81d66b12c22e68df28fc7.zip art-c393a4f7c91534ac41a81d66b12c22e68df28fc7.tar.gz art-c393a4f7c91534ac41a81d66b12c22e68df28fc7.tar.bz2 |
System calls dex2oat when opening a dex file with an output location
This fix addresses the old dalvik test 071. The test has 2 source jars,
and one is loaded later. To support this, the other jar has to be run
though dex2oat. Eventually, we want the system to invoke dex2oat on any
jar files that need it.
Change-Id: Ie8428004f397cdb56ee437d0b38c0670f14e77fa
Diffstat (limited to 'test/071-dexfile')
-rw-r--r-- | test/071-dexfile/src/Main.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/071-dexfile/src/Main.java b/test/071-dexfile/src/Main.java index 2cbe380..0845e87 100644 --- a/test/071-dexfile/src/Main.java +++ b/test/071-dexfile/src/Main.java @@ -22,8 +22,8 @@ import java.lang.reflect.Constructor; * DexFile tests (Dalvik-specific). */ public class Main { - private static final String CLASS_PATH = "test-ex.jar"; - private static final String ODEX_DIR = "/sdcard"; + private static final String CLASS_PATH = "/data/art-test/071-dexfile-ex.jar"; + private static final String ODEX_DIR = "/data/art-test"; //private static final String ODEX_DIR = "."; private static final String ODEX_ALT = "/tmp"; private static final String LIB_DIR = "/nowhere/nothing/"; |