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

TTY: print <array> doesn't work right

XMLWordPrintable

    • sparc
    • solaris_7

      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)

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: