Skip to content

Apache Lucene open-source search software

LUCENE-2652: QuickFix for Clover OOM

Simon Willnauer93f8a01df7ca
diff --git a/lucene/src/test/org/apache/lucene/util/LuceneTestCase.java b/lucene/src/test/org/apache/lucene/util/LuceneTestCase.java
index f1247a95e39..0e79375606f 100644
--- a/lucene/src/test/org/apache/lucene/util/LuceneTestCase.java
+++ b/lucene/src/test/org/apache/lucene/util/LuceneTestCase.java
@@ -863,21 +863,21 @@ public abstract class LuceneTestCase extends Assert {
public LocalizedTestCaseRunner(Class<?> clazz) throws InitializationError {
super(clazz);
}
-
- @Override
- protected void runChild(FrameworkMethod arg0, RunNotifier arg1) {
- arg1.addListener(listener);
- locale = defaultLocale;
- super.runChild(arg0, arg1);
-
- for (Locale other : Locale.getAvailableLocales()) {
- locale = other;
- Locale.setDefault(locale);
- super.runChild(arg0, arg1);
- }
-
- Locale.setDefault(defaultLocale);
- }
+// FIXME see LUCENE-2652
+// @Override
+// protected void runChild(FrameworkMethod arg0, RunNotifier arg1) {
+// arg1.addListener(listener);
+// locale = defaultLocale;
+// super.runChild(arg0, arg1);
+//
+// for (Locale other : Locale.getAvailableLocales()) {
+// locale = other;
+// Locale.setDefault(locale);
+// super.runChild(arg0, arg1);
+// }
+//
+// Locale.setDefault(defaultLocale);
+// }
}
/**