diff options
author | Ian Rogers <irogers@google.com> | 2014-05-19 15:58:25 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-05-19 15:58:25 +0000 |
commit | 2de26a11390c644f5afda07f2a30a278e3a3543c (patch) | |
tree | 9d609c3c796b0cbbccf4a6e8bdcf3df6aeb351e8 /luni | |
parent | 6167671bf318661c6d9f9f44d4ad4b14d60e9224 (diff) | |
parent | 023ada91266cd5a8e073f978d01f769ff978340e (diff) | |
download | libcore-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.java | 4 |
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; |