From 444575251832c21f7a26d20e382def32aff0900d Mon Sep 17 00:00:00 2001 From: Stu Hood Date: Wed, 20 Jul 2016 15:04:09 -0700 Subject: [PATCH] Set the encoding for javac in pantsbuild/pants Without an encoding explicitly set, javac's encoding will float to whatever the environment has it set to. See https://github.com/pantsbuild/pants/issues/3702 for more info on what we should do to fix this more thoroughly. - Set the encoding for javac, and refer to a ticket about reifying the setting. Testing Done: https://travis-ci.org/pantsbuild/pants/builds/146201334 http://jenkins.pantsbuild.org/job/pantsbuild/job/pants/job/PR-3703/ Bugs closed: 3691, 3702, 3703 Reviewed at https://rbcommons.com/s/twitter/r/4103/ --- pants.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pants.ini b/pants.ini index a704b316230..d16fd35f50d 100644 --- a/pants.ini +++ b/pants.ini @@ -157,6 +157,8 @@ jvm_options: [ ] args: [ + # NB: See https://github.com/pantsbuild/pants/issues/3702 + '-C-encoding', '-CUTF-8', '-S-encoding', '-SUTF-8', '-S-g:vars', ]