[HARMONY-6589] [classlib][luni] Cannot pick up proper user.language and user.country properties (original) (raw)

Log inSkip to main contentSkip to sidebar

ASF JIRA

Uploaded image for project: 'Harmony'

  1. Harmony
  2. HARMONY-6589

XMLWordPrintableJSON

Details

Description

Test with below test case:

public class Test {

public static void main(String[] args)

{ String lang = System.getProperty("user.language"); String country = System.getProperty("user.country"); System.out.println("user.language=" + lang); System.out.println("user.contry=" + country); }

}

it always print out
user.language=en
user.contry=US
even if system language and region are set to other values.

Attachments

Attachments

  1. Harmony-6589.diff
    16/Jul/10 09:56
    1 kB
    Xiao Shu

Activity

People

Votes:

0 Vote for this issue

Watchers:

0 Start watching this issue

Dates

Created:

16/Jul/10 06:11

Updated:

16/Jul/10 13:44

Resolved:

16/Jul/10 10:28