gwtproject / gwt

GWT Open Source Project
http://www.gwtproject.org
1.52k stars 375 forks source link

Arrays.deepToString throws an assertion when passed a nested array. #9134

Open dankurka opened 9 years ago

dankurka commented 9 years ago

Originally reported on Google Code with ID 9205

Found in GWT Release (e.g. 2.4.0, 2.5.1, trunk):

trunk (possible dates back to 1.0)

Encountered on OS / Browser (e.g. WinXP, IE9, FF10):

N/A

Detailed description (please be as specific as possible):

Calling Arrays.deepToString(new Object[]{new int[] {1,2,3}}) throws an assertion if
compiled with assertion enabled.

Shortest code snippet which demonstrates issue (please indicate where
actual result differs from expected result):

Arrays.deepToString(new Object[]{new int[] {1,2,3}})

Workaround if you have one:

none

Links to relevant GWT Developer Forum posts:

Link to patch posted at http://gwt-review.googlesource.com

https://gwt-review.googlesource.com/12870 

Reported by rluble@google.com on 2015-05-29 18:26:41

dankurka commented 9 years ago

Reported by rluble@google.com on 2015-05-29 18:55:48