harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ivanov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-2700) [drlvm][unicode] The vm should correctly output the unicode symbols to console
Date Thu, 14 Dec 2006 14:25:22 GMT
[drlvm][unicode] The vm should correctly output the unicode symbols to console
------------------------------------------------------------------------------

                 Key: HARMONY-2700
                 URL: http://issues.apache.org/jira/browse/HARMONY-2700
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
            Reporter: Vladimir Ivanov
            Priority: Minor


The vm should correctly output the unicode symbols to console. We have 2 VM that provide differen
output for the same code.
>From my point of view, the IBMVM  output is correct.

============ test.java =====================
import java.util.*;

public class test {
        public static void main(String[] args) {
                Currency cur = Currency.getInstance("RUR");
                System.out.println("\u0440. == " + cur.getSymbol(new Locale("ru", "RU")));
     
                System.out.println("\u0440\u0443\u0431\u043b\u044A.");  
        }
}
========================================

Output:
C:\tmp\tmp17>C:\harmony.top\classlib\trunk\deploy\jdk\jre\bin\java.exe -cp . test
р. == руб
рублъ.

C:\tmp\tmp17>C:\harmony.top\drlvm\trunk\build\win_ia32_msvc_debug\deploy\jdk\jre\bin\java
-Dvm.assert_dialog=false -cp . -showversion test
Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors,
as applicable.
java version "1.5.0"
pre-alpha : not complete or compatible
svn = r486963, (Dec 14 2006), Windows/ia32/msvc 1310, debug build
http://incubator.apache.org/harmony
→. == →→→
→→→→→.

C:\tmp\tmp17>



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message