diff options
author | Elliott Hughes <enh@google.com> | 2011-12-14 14:24:40 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2011-12-14 14:24:40 -0800 |
commit | fbef9462e3bf2301dd5b337d351b6b70f7e31bc8 (patch) | |
tree | 2a373e07c766109a306f12a8169e57f4f4cfa0a7 /test | |
parent | 6f45e8121ab05bb9dee9a039b959346e5476332a (diff) | |
download | art-fbef9462e3bf2301dd5b337d351b6b70f7e31bc8.tar.gz art-fbef9462e3bf2301dd5b337d351b6b70f7e31bc8.tar.bz2 art-fbef9462e3bf2301dd5b337d351b6b70f7e31bc8.zip |
Fix 088 the way the test's author intended.
Not only was some of the verification code disabled in dalvik, part of the
test was too. This test was _intended_ to check that we fail gracefully
when our monitor-enter stack overflows. Re-enable the test, and throw a
verification error on overflow.
Change-Id: Iaa973633ecc59c3c4810b97ada80eae1e4db3db5
Diffstat (limited to 'test')
-rw-r--r-- | test/088-monitor-verification/src/Main.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/088-monitor-verification/src/Main.java b/test/088-monitor-verification/src/Main.java index aa90b92dae..b60c71e668 100644 --- a/test/088-monitor-verification/src/Main.java +++ b/test/088-monitor-verification/src/Main.java @@ -38,12 +38,10 @@ public class Main { System.out.println("constantLock ok"); m.notExcessiveNesting(); - if (false) { // TODO: remove when verification is turned on try { TooDeep.excessiveNesting(); System.err.println("excessiveNesting did not throw"); } catch (VerifyError ve) {} - } System.out.println("excessiveNesting ok"); m.notNested(); |