JDK-6349271 : Misleading description in Locale.setDefault() method
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 6
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2005-11-11
  • Updated: 2017-05-16
  • Resolved: 2005-12-05
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 rcFixed
Related Reports
Relates :  
Description
In Locale.setDefault() method, there is the method description that reads:

"Since changing the default locale may affect many different areas of functionality, this method should only be used if the caller is prepared to reinitialize locale-sensitive code running within the same Java Virtual Machine, such as the user interface."

But in fact, the user interface is not affected by changing the default locale.  This part should be removed.

Comments
EVALUATION Remove the misleading ", such as the user interface" part.
11-11-2005