Apache Lucene open-source search software
LUCENE-5207: add comment that the regen hack does not work in Java 8
Uwe Schindlerb23b6276ccac
diff --git a/lucene/expressions/build.xml b/lucene/expressions/build.xmlindex e8385064426..46a60feef4e 100644--- a/lucene/expressions/build.xml+++ b/lucene/expressions/build.xml@@ -98,7 +98,9 @@<property name="-grammar.relative.path" location="${grammar.path}" relative="true"/><replace-value property="grammar.relative.path" value="${-grammar.relative.path}${file.separator}" from="${file.separator}" to="/"/><java classname="org.antlr.Tool" fork="true" failonerror="true" classpathref="antlr.classpath" taskname="antlr">- <!-- this is a hack because antlr generates code comments in nondeterministic order (using hashmap somewhere it should use linkedhashmap) -->+ <!-- this is a hack because antlr generates code comments in nondeterministic order+ (using HashMap somewhere it should use LinkedHashMap). This hack only works for Java 7,+ Java 8 always uses murmurhash for strings and uses time-of-day as seed. --><sysproperty key="jdk.map.althashing.threshold" value="-1"/><sysproperty key="file.encoding" value="UTF-8"/><sysproperty key="user.language" value="en"/>