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

native2ascii "file cannot be read" error message is broken

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Build:
      b22
    • Introduced In Version:
      7
    • Resolved In Build:
      b134
    • CPU:
      x86
    • OS:
      linux_redhat_5.0
    • Verification:
      Verified

      Description

      Tested using jdk7 promoted b130.
      When did following, error message is not correctly showing the file path.

      bash-3.2$ native2ascii xxx
      java.lang.Exception: [Ljava.lang.String;@1e91259 could not be read.

      It should say "xxx could not be read." instead.
      The fix for this bug adds a new test case. When this
      test is used on older bits, the test now fails:

           sun/tools/native2ascii/Native2AsciiTests.sh

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              alanb Alan Bateman
              Reporter:
              ogino Shinya Ogino (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: