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

JShell: friendlier representation of array values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • tools
    • None
    • b138
    • Verified

      Currently:

      jshell> new int[] { 5, 9, 12}
      $2 ==> [I@53b32d7

      Could be:

      $2 ==> int[] { 5, 9, 12 }

      Or...

      See JavaOne 2016 Keynote

            rfield Robert Field (Inactive)
            rfield Robert Field (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: