summaryrefslogtreecommitdiffstats
path: root/luni
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2014-05-19 15:58:25 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-05-19 15:58:25 +0000
commit2de26a11390c644f5afda07f2a30a278e3a3543c (patch)
tree9d609c3c796b0cbbccf4a6e8bdcf3df6aeb351e8 /luni
parent6167671bf318661c6d9f9f44d4ad4b14d60e9224 (diff)
parent023ada91266cd5a8e073f978d01f769ff978340e (diff)
downloadlibcore-2de26a11390c644f5afda07f2a30a278e3a3543c.zip
libcore-2de26a11390c644f5afda07f2a30a278e3a3543c.tar.gz
libcore-2de26a11390c644f5afda07f2a30a278e3a3543c.tar.bz2
Merge "Fix the expected failure when an array of void is attempted to be created."
Diffstat (limited to 'luni')
-rw-r--r--luni/src/test/java/dalvik/system/VMRuntimeTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/luni/src/test/java/dalvik/system/VMRuntimeTest.java b/luni/src/test/java/dalvik/system/VMRuntimeTest.java
index 44af461..251ecd8 100644
--- a/luni/src/test/java/dalvik/system/VMRuntimeTest.java
+++ b/luni/src/test/java/dalvik/system/VMRuntimeTest.java
@@ -59,7 +59,7 @@ public final class VMRuntimeTest extends TestCase {
try {
Object array = VMRuntime.getRuntime().newNonMovableArray(void.class, 0);
assertTrue(false);
- } catch (IllegalArgumentException expected) {
+ } catch (NoClassDefFoundError expected) {
}
int maxLengthForLoop = 16 * 1024;
@@ -113,7 +113,7 @@ public final class VMRuntimeTest extends TestCase {
try {
Object array = VMRuntime.getRuntime().newUnpaddedArray(void.class, 0);
assertTrue(false);
- } catch (IllegalArgumentException expected) {
+ } catch (NoClassDefFoundError expected) {
}
int maxLengthForLoop = 16 * 1024;