Skip to content

Apache Lucene open-source search software

dont revert my changes

Robert Muird819b9c54759
diff --git a/lucene/test-framework/src/java/org/apache/lucene/util/TestRuleSetupAndRestoreClassEnv.java b/lucene/test-framework/src/java/org/apache/lucene/util/TestRuleSetupAndRestoreClassEnv.java
index e87720d59f5..fe7cfa65a84 100644
--- a/lucene/test-framework/src/java/org/apache/lucene/util/TestRuleSetupAndRestoreClassEnv.java
+++ b/lucene/test-framework/src/java/org/apache/lucene/util/TestRuleSetupAndRestoreClassEnv.java
@@ -200,6 +200,9 @@ final class TestRuleSetupAndRestoreClassEnv extends AbstractBeforeAfterRule {
Arrays.toString(avoidCodecs.toArray()));
throw e;
}
+ if (Constants.JAVA_VENDOR.startsWith("IBM")) {
+ throw new AssumptionViolatedException("refusing to execute on broken jvm");
+ }
}
/**