# HG changeset patch # User Bernhard Urban # Date 1366103516 -7200 # Node ID 5c63e43851153c6a91f20f80a6241800a7b3f113 # Parent bc26f978b0ce2268d6bacd774cefe3067b0a59e3 javac: use UTF-8 as encoding explicitly patch by gilles. diff -r bc26f978b0ce -r 5c63e4385115 make/build-graal.xml --- a/make/build-graal.xml Mon Apr 15 19:54:58 2013 +0200 +++ b/make/build-graal.xml Tue Apr 16 11:11:56 2013 +0200 @@ -31,7 +31,7 @@ - + diff -r bc26f978b0ce -r 5c63e4385115 mx/commands.py --- a/mx/commands.py Mon Apr 15 19:54:58 2013 +0200 +++ b/mx/commands.py Tue Apr 16 11:11:56 2013 +0200 @@ -502,7 +502,7 @@ out.open('target', {'name' : 'compile', 'depends' : 'cleanclasses'}) out.element('mkdir', {'dir' : '${classes.dir}'}) - out.open('javac', {'destdir' : '${classes.dir}', 'debug' : 'on', 'includeantruntime' : 'false', }) + out.open('javac', {'destdir' : '${classes.dir}', 'debug' : 'on', 'includeantruntime' : 'false', 'encoding' : 'UTF-8'}) for p in mx.sorted_deps(mx.distribution('GRAAL').deps): out.element('src', {'path' : '${src.dir}/' + p.name}) out.element('compilerarg', {'value' : '-XDignore.symbol.file'})