RFR(M): 8201593: Print array length in ArrayIndexOutOfBoundsException.
Andrew Haley
aph at redhat.com
Thu Apr 19 12:56:12 UTC 2018
On 04/18/2018 03:30 PM, Roger Riggs wrote:
> Which roughly reads as:
>
> Index %d out-of-bounds for length %d
"out-of-bounds" shouldn't be hyphenated because it's not a compound
adjective. Besides that, it's unnecessary because you already know
its an ArrayIndexOutOfBoundsException.
Index %d in array[%d]
is all you need.
--
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
More information about the core-libs-dev
mailing list