Revert the revert of the revert. I hope Robert Muir will followup and we can agree that this patch is not really a good idea and we should discuss on LUCENE-4630 what to do. I know that Mike is already beasting J9, so we would need an option to disable this AssumptionFailedEx. Thanks in advance!

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421818 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2012-12-14 12:31:05 +00:00
parent 5ed3c4654c
commit 0ff3221bc2
1 changed files with 3 additions and 0 deletions

View File

@ -200,6 +200,9 @@ final class TestRuleSetupAndRestoreClassEnv extends AbstractBeforeAfterRule {
Arrays.toString(avoidCodecs.toArray())); Arrays.toString(avoidCodecs.toArray()));
throw e; throw e;
} }
if (Constants.JAVA_VENDOR.startsWith("IBM")) {
throw new AssumptionViolatedException("refusing to execute on broken jvm");
}
} }
/** /**