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

native2ascii -reverse hangs when last line includes new line mark

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 1.4.0_01
    • Fix Version/s: 1.4.1
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      hopper
    • CPU:
      generic
    • OS:
      solaris_8
    • Verification:
      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

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: