harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Pervov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-5465) [classlib][util] Locale(String, String, String) capitalize third parameter (variant)
Date Wed, 06 Feb 2008 12:49:08 GMT
[classlib][util] Locale(String, String, String) capitalize third parameter (variant)
------------------------------------------------------------------------------------

                 Key: HARMONY-5465
                 URL: https://issues.apache.org/jira/browse/HARMONY-5465
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
         Environment: All
            Reporter: Pavel Pervov


The following test passes on RI, but fails on Harmony:
-------------------------
import java.util.Locale;

class LocaleVariant {
    public static void main(String[] args) {
        Locale p = new Locale("en","GB", "Custom_LNX");
        if(p.getVariant().equals("Custom_LNX")) {
            System.out.println("PASSED");
        } else {
            System.out.println("FAILED: Custom_LNX != " + p.getVariant());
        }
    }
}
-------------------------

-- 
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