There is no way to set the locale of a compiler task.
One way to fix this is to add a Locale parameter to Tool.run
and add a setLocale(Locale) method to JavaCompiler.CompilationTask.
One way to fix this is to add a Locale parameter to Tool.run
and add a setLocale(Locale) method to JavaCompiler.CompilationTask.
- relates to
-
JDK-6443132 javac should honor the Locale setting provided through javax.tools.JavaCompiler
- Closed