harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao Shu (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-6589) [classlib][luni] Cannot pick up proper user.language and user.country properties
Date Fri, 16 Jul 2010 06:11:50 GMT
[classlib][luni] Cannot pick up proper user.language and user.country properties
--------------------------------------------------------------------------------

                 Key: HARMONY-6589
                 URL: https://issues.apache.org/jira/browse/HARMONY-6589
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
    Affects Versions: 5.0M14
            Reporter: Xiao Shu


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message