Dunno why this cast is needed in product mode.

This commit is contained in:
Coleen Phillimore 2026-07-31 09:50:26 -04:00
parent 7fa01480c4
commit afc7e50f6d

View File

@ -818,7 +818,7 @@ void java_lang_Throwable::get_stack_trace_elements(int depth, Handle backtrace,
THROW(vmSymbols::java_lang_IndexOutOfBoundsException());
}
refArrayHandle result(THREAD, backtrace());
refArrayHandle result(THREAD, refArrayOop(backtrace()));
BacktraceIterator iter(result, THREAD);
int index = 0;