Saw an issue with TestFlexJSExpressions::testVisitStringLiteralChinese in ant build This appears to fix it.
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/14578bdb Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/14578bdb Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/14578bdb Branch: refs/heads/develop Commit: 14578bdbce0a764f8fedef4d2d0fc69e0451eef7 Parents: 96a358c Author: greg-dove <[email protected]> Authored: Sat Aug 19 18:39:28 2017 +1200 Committer: greg-dove <[email protected]> Committed: Sat Aug 19 18:39:28 2017 +1200 ---------------------------------------------------------------------- compiler-jx/src/test/build.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/14578bdb/compiler-jx/src/test/build.xml ---------------------------------------------------------------------- diff --git a/compiler-jx/src/test/build.xml b/compiler-jx/src/test/build.xml index fad70f4..9c36f30 100644 --- a/compiler-jx/src/test/build.xml +++ b/compiler-jx/src/test/build.xml @@ -40,7 +40,9 @@ <target name="compile.unit.tests"> <delete dir="${compiler}/target/test-classes"/> <mkdir dir="${compiler}/target/test-classes"/> - <javac debug="${javac.debug}" deprecation="${javac.deprecation}" destdir="${compiler}/target/test-classes" includeAntRuntime="true"> + <javac debug="${javac.debug}" deprecation="${javac.deprecation}" + encoding="UTF-8" + destdir="${compiler}/target/test-classes" includeAntRuntime="true"> <src path="${compiler.tests}/java"/> <compilerarg value="-Xlint:all,-path"/> <classpath> @@ -60,6 +62,7 @@ printsummary="true" showoutput="true" haltonerror="true" haltonfailure="true" failureproperty="tests.unit.failed"> + <jvmarg value="-Dfile.encoding=UTF-8"/> <classpath> <pathelement location="${compiler}/target/test-classes"/> <pathelement location="${compiler}/../compiler-test-utils/target/classes"/> @@ -100,6 +103,7 @@ printsummary="true" showoutput="true" haltonerror="true" haltonfailure="true" failureproperty="tests.unit.failed"> + <jvmarg value="-Dfile.encoding=UTF-8"/> <classpath> <pathelement location="${compiler}/target/test-classes"/> <pathelement location="${compiler}/../compiler-test-utils/target/classes"/>
