Closed tkurki closed 9 years ago
Java server outputs invalid JSON numbers and throws internal errors if the locale has something else than period character as the decimal separator.
A quick fix is to explicitly set the locale of the jvm in startpc:
startpc
EXT="-Djava.util.Arrays.useLegacyMergeSort=true -Duser.country=EN -Duser.language=en".
EXT="-Djava.util.Arrays.useLegacyMergeSort=true -Duser.country=EN -Duser.language=en"
Pinned the decimal format to Locale.ENGLISH, and also disabled scientific notation on long doubles.
Java server outputs invalid JSON numbers and throws internal errors if the locale has something else than period character as the decimal separator.
A quick fix is to explicitly set the locale of the jvm in
startpc
:EXT="-Djava.util.Arrays.useLegacyMergeSort=true -Duser.country=EN -Duser.language=en"
.