LUCENE-5207: enforce encoding and locale (for paranoia reasons)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5207@1523059 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2013-09-13 18:48:58 +00:00
parent 675fb49bbd
commit afc65eebac
1 changed files with 4 additions and 0 deletions

View File

@ -100,6 +100,10 @@
<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) -->
<sysproperty key="jdk.map.althashing.threshold" value="-1"/>
<sysproperty key="file.encoding" value="UTF-8"/>
<sysproperty key="user.language" value="en"/>
<sysproperty key="user.country" value="US"/>
<sysproperty key="user.variant" value=""/>
<arg value="-verbose"/>
<arg value="-make"/>
<arg value="-o"/>