< prev index next >

src/hotspot/cpu/arm/templateTable_arm.cpp

Print this page
rev 50027 : 8201593: Print array length in ArrayIndexOutOfBoundsException.
Reviewed-by: dholmes, mdoerr, smonteith, shade

*** 744,753 **** --- 744,754 ---- __ cmp_32(index, Rtemp); if (index != R4_ArrayIndexOutOfBounds_index) { // convention with generate_ArrayIndexOutOfBounds_handler() __ mov(R4_ArrayIndexOutOfBounds_index, index, hs); } + __ mov(R1, array, hs); __ b(Interpreter::_throw_ArrayIndexOutOfBoundsException_entry, hs); } void TemplateTable::iaload() {
< prev index next >