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

sun/tools/native2ascii/Native2AsciiTests.sh fails on Japanese

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4
    • None
    • 8
    • tools
    • None
    • windows

    Description

      The test compares the output of native2ascii with a file containing the correct answers.
      The native2ascii output uses CR, NL for line breaks on Windows, while the correct file uses NL.
      When comparing, CR is removed from the native2ascii output.
      However, the sed command used to remove CR is incorrect.
      'sed -e 's@\\r@@g'' replaces the literal \r, but to remove CR, it should be 'sed -e 's@\r@@g''.

      Environment:
      Intel(R) Xeon(R) Platinum 8260 CPU 2.4GHz, 2 core, 8GB Memory
      Windows 10 Enterprise

      Attachments

        Issue Links

          Activity

            People

              ktakakuri Kazuhisa Takakuri
              ktakakuri Kazuhisa Takakuri
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: