mirror of
https://github.com/openjdk/jdk.git
synced 2026-08-03 06:35:31 +00:00
Missed one
This commit is contained in:
parent
97e795087c
commit
fb8e069c6d
@ -45,7 +45,7 @@ template <class T> T* objArrayOopDesc::obj_at_addr(int index) const {
|
||||
inline oop objArrayOopDesc::obj_at(int index, TRAPS) const {
|
||||
assert(is_within_bounds(index), "index %d out of bounds %d", index, length());
|
||||
if (is_flatArray()) {
|
||||
return ((const flatArrayOopDesc*)this)->obj_at(index, CHECK_NULL);
|
||||
return ((const flatArrayOopDesc*)this)->obj_at(index, THREAD);
|
||||
} else {
|
||||
return ((const refArrayOopDesc*)this)->obj_at(index);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user