native2ascii -reverse hangs when last line includes new line mark

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.4.1
    • Affects Version/s: 1.4.0_01
    • Component/s: core-libs
    • hopper
    • generic
    • solaris_8
    • Verified


      ###@###.### 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).

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: