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

native2ascii throws BufferUnderflowException in UTF-8 locale

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • core-libs
    • beta2
    • sparc
    • solaris_7
    • Verified

      Reproduction:

      1. Get an attached test case.
      2. Run native2ascii with the test case in ja_JP.UTF-8 locale.
         % native2ascii -reverse test.unicode test.utf
         java.nio.BufferUnderflowException

      % java -version
      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b64)
      Java HotSpot(TM) Client VM (build 1.4.0-beta-b64, mixed mode)
      %

      kenichi.kurosaki@Japan 2001-05-16


      Still applies in build beta-65 in SV-UTF8

      philip.coyle@ireland 2001-05-18

            ilittlesunw Ian Little (Inactive)
            kurosaki Kenichi Kurosaki (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: