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-660) [classlib][text] Bidi.toString() should display the bidi internal state
Date Mon, 26 Jun 2006 05:24:29 GMT
[classlib][text] Bidi.toString() should display the bidi internal state
-----------------------------------------------------------------------

         Key: HARMONY-660
         URL: http://issues.apache.org/jira/browse/HARMONY-660
     Project: Harmony
        Type: Bug

  Components: Classlib  
    Reporter: Vladimir Ivanov
    Priority: Minor


The harmony implementation of Bidi.toString() return empty string as internal state while
RI print some useful information.
=================== test.java ====================
import java.text.*; 
public class test { 
    public static void main (String[] args) {
        Bidi bidi = new Bidi("text", Bidi.DIRECTION_DEFAULT_LEFT_TO_RIGHT);
        System.out.println("bidi.toString() = " + bidi.toString());
    }
} 
==============================================
C:\tmp\tmp17>C:\jrockit-j2sdk1.4.2_04\bin\java.exe -showversion test
java version "1.4.2_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
BEA WebLogic JRockit(TM) 1.4.2_04 JVM  (build ari-31788-20040616-1132-win-ia32, Native Threads,
GC strategy: parallel)

bidi.toString() = java.text.Bidi@2068581[dir: 0 baselevel: 0 length: 4 runs: null cws: null]

C:\tmp\tmp17>C:\harmony\trunk_0427\deploy\jdk\jre\bin\java.exe -showversion test
java version 1.5 (subset)

(c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
bidi.toString() = 

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