mirror of https://github.com/apache/lucene.git
LUCENE-5207: add comment that the regen hack does not work in Java 8
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5207@1523075 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
afc65eebac
commit
b23b6276cc
|
@ -98,7 +98,9 @@
|
||||||
<property name="-grammar.relative.path" location="${grammar.path}" relative="true"/>
|
<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="/"/>
|
<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">
|
<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="jdk.map.althashing.threshold" value="-1"/>
|
||||||
<sysproperty key="file.encoding" value="UTF-8"/>
|
<sysproperty key="file.encoding" value="UTF-8"/>
|
||||||
<sysproperty key="user.language" value="en"/>
|
<sysproperty key="user.language" value="en"/>
|
||||||
|
|
Loading…
Reference in New Issue