You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Vladimir Ivanov (JIRA)" <ji...@apache.org> on 2006/06/26 07:26:30 UTC
[jira] Updated: (HARMONY-660) [classlib][text] Bidi.toString()
should display the bidi internal state
[ http://issues.apache.org/jira/browse/HARMONY-660?page=all ]
Vladimir Ivanov updated HARMONY-660:
------------------------------------
Attachment: Bidi.patch
patch
> [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
> Attachments: Bidi.patch
>
> 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