From 7952938f2e7f49233333fd6532c2a9ddab4fff54 Mon Sep 17 00:00:00 2001 From: Yoshito Umaoka Date: Wed, 3 Sep 2014 16:00:33 +0000 Subject: [PATCH] ICU-10785 Accidentally commented out the change for testing in the previous commit. Uncomment these lines. X-SVN-Rev: 36331 --- .../framework/src/com/ibm/icu/dev/test/TestFmwk.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/TestFmwk.java b/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/TestFmwk.java index 24c5e016c5c..79e1e328eb7 100644 --- a/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/TestFmwk.java +++ b/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/TestFmwk.java @@ -84,11 +84,11 @@ public class TestFmwk extends AbstractTestLog { if(ex == null){ ex = e; } -// if (ex instanceof OutOfMemoryError) { -// // Once OOM happens, it does not make sense to run -// // the rest of test cases. -// throw new RuntimeException(ex); -// } + if (ex instanceof OutOfMemoryError) { + // Once OOM happens, it does not make sense to run + // the rest of test cases. + throw new RuntimeException(ex); + } if (ex instanceof ICUTestError) { // ICUTestError is one produced by errln. // We don't need to include useless stack trace information for -- 2.40.0