JDK-6406133 : JCDiagnostic.getMessage ignores locale argument
  • Type: Enhancement
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2006-03-29
  • Updated: 2011-05-18
  • Resolved: 2011-05-18
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 7
7 b39Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
JCDiagnostic.getMessage ignores locale argument and always returns a message
in the default locale.  It could return a message in the provided locale.

Comments
SUGGESTED FIX A webrev of this fix is available at the following URL http://sa.sfbay.sun.com/projects/langtools_data/7/6406133
09-10-2008

EVALUATION This now is relatively easy to fix - thanks to the new diagnostic formatter hierarchy. Messages requires some changes as it's not locale-friendly.
09-10-2008