Skip to content

Apache Lucene open-source search software

fail on hashmap ordering bugs in java7 too

Robert Muir264dd4843789
diff --git a/lucene/common-build.xml b/lucene/common-build.xml
index fc05164bf04..a99239d135f 100644
--- a/lucene/common-build.xml
+++ b/lucene/common-build.xml
@@ -979,6 +979,9 @@
<!-- disable AWT while running tests -->
<sysproperty key="java.awt.headless" value="true"/>
+ <!-- turn jenkins blood red for hashmap bugs, even on jdk7 -->
+ <sysproperty key="jdk.map.althashing.threshold" value="0"/>
+
<!-- Only pass these to the test JVMs if defined in ANT. -->
<syspropertyset>
<propertyref prefix="tests.maxfailures" />