]> granicus.if.org Git - icu/commitdiff
ICU-10785 Accidentally commented out the change for testing in the previous commit...
authorYoshito Umaoka <y.umaoka@gmail.com>
Wed, 3 Sep 2014 16:00:33 +0000 (16:00 +0000)
committerYoshito Umaoka <y.umaoka@gmail.com>
Wed, 3 Sep 2014 16:00:33 +0000 (16:00 +0000)
X-SVN-Rev: 36331

icu4j/main/tests/framework/src/com/ibm/icu/dev/test/TestFmwk.java

index 24c5e016c5ce2cc3d82c81a4a87a35c2ca413d7f..79e1e328eb7d75fe56943f7c95e440393ff6afe1 100644 (file)
@@ -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