Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7051769

java.text.Bidi.toString() output is wrong

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 7
    • Fix Version/s: 8
    • Component/s: core-libs
    • Subcomponent:
    • Resolved In Build:
      b01
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        The text part of java.text.Bidi.toString() output is wrong. The first char and its level are displayed twice.

        Other things to be changed:

        - StringBuilder should be used instead of StringBuffer.

        - avoid string concatenation in append(), such as buf.append("[dir: " + direction).

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  peytoia Yuka Kamiya (Inactive)
                  Reporter:
                  okutsu Masayoshi Okutsu
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: