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

TTY: print <array> doesn't work right

    Details

    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_7

      Description

      To see this, uncomment this line in regression test StringConvertTest.sh:

          #cmd print "(Object)($classname.x3)"

      x3 is an array. The above print command should print something like:
         [LStringConvertTest$JJ2;@7bd9f2

      which is what System.out.println(x3) would print.

      Instead, it prints something like:
          instance of StringConvertTest$JJ2[2] (id=276)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jjh James Holmlund (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: