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

native2ascii -reverse hangs when last line includes new line mark

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 1.4.1
    • 1.4.0_01
    • core-libs
    • hopper
    • generic
    • solaris_8
    • Verified

    Description


      ###@###.### 2002-01-31

      When I tried to use native2ascii -reverse on Solaris9 build55
      (build 1.4.0-rc-b89).
      I encountered native2ascii hangs. I found that this problem occurs
      when last line includes '\n' characters

      sayama@oxanne[4]% cat TT
      \n
      sayama@oxanne[5]% cat TT_a
      \n
      aa
      sayama@oxanne[6]% /usr/j2se/bin/native2ascii -reverse -encoding UTF-8 TT
      Hang (consuming CPU near 100%)
      sayama@oxanne[7]% /usr/j2se/bin/native2ascii -reverse -encoding UTF-8 TT_a
      \n
      aa

      I can confirm that both cases work fine on S8UR7 (build 1.3.1_01).

      Attachments

        Activity

          People

            ilittlesunw Ian Little (Inactive)
            osayama Osamu Sayama (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: