From fbef9462e3bf2301dd5b337d351b6b70f7e31bc8 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 14 Dec 2011 14:24:40 -0800 Subject: 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 --- test/088-monitor-verification/src/Main.java | 2 -- 1 file changed, 2 deletions(-) (limited to 'test') 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(); -- cgit v1.2.3