JDK-6440099 : JSR 199: Need way to set locale
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 6
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2006-06-17
  • Updated: 2017-05-16
  • Resolved: 2006-07-01
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6 b91Fixed
Related Reports
Relates :  
Description
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.

Comments
EVALUATION Since this is very late in mustang development we may simply add the method to the interface and ignore the result until update 1 or later (see 6443132).
17-06-2006