Currently:
jshell> new int[] { 5, 9, 12}
$2 ==> [I@53b32d7
Could be:
$2 ==> int[] { 5, 9, 12 }
Or...
See JavaOne 2016 Keynote
jshell> new int[] { 5, 9, 12}
$2 ==> [I@53b32d7
Could be:
$2 ==> int[] { 5, 9, 12 }
Or...
See JavaOne 2016 Keynote
- duplicates
-
JDK-8133020 JShell API: special printing for arrays, Collection, Strings
- Closed
- relates to
-
JDK-8171892 JShell: incorrect printing of multidemensional arrays
- Closed