JDK-4364569 : Some system properties should be readonly if we don't support the value change
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 1.4.0
  • Priority: P3
  • Status: Closed
  • Resolution: Not an Issue
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2000-08-22
  • Updated: 2001-05-11
  • Resolved: 2001-05-07
Related Reports
Relates :  
Relates :  
Description
Some system properties (user.lanaguage, user.region, user.country) should be readonly if we don't support the value change on the fly.  

Platform: any
JDK version: build 1.4.0beta-b28
Locale: any

To reproduce this problem on Win2000:
- On Win2000, set both default system language and locale to "English" 
- java -Duser.language=ja GetUserOptions
- you will get results like:
	default locale= ja_US
	user.language= ja
	user.country= null
	user.region= US


Obviously, JDK can not pick up the new system properties value which user set on the fly.  If we don't support it, we should make them read only. 


Comments
EVALUATION Name: nl37777 Date: 05/04/2001 There's no bug here. The Java runtime picks up the host OS locale, en_US, but then the language is overridden to "ja" using the command line option. The result is ja_US. The user.country value is null because the J2RE doesn't use this property. ======================================================================
11-06-2004