mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-17 05:45:05 +00:00
8300040: TypeOopPtr::make_from_klass_common calls itself with args in wrong order
Co-authored-by: David Simms <dsimms@openjdk.org> Reviewed-by: chagedorn, kvn
This commit is contained in:
parent
19628e3e0c
commit
640eff64d2
@ -3578,7 +3578,7 @@ const TypeOopPtr* TypeOopPtr::make_from_klass_common(ciKlass* klass, bool klass_
|
||||
} else if (klass->is_obj_array_klass()) {
|
||||
// Element is an object array. Recursively call ourself.
|
||||
ciKlass* eklass = klass->as_obj_array_klass()->element_klass();
|
||||
const TypeOopPtr *etype = TypeOopPtr::make_from_klass_common(eklass, try_for_exact, false, interface_handling);
|
||||
const TypeOopPtr *etype = TypeOopPtr::make_from_klass_common(eklass, false, try_for_exact, interface_handling);
|
||||
bool xk = etype->klass_is_exact();
|
||||
const TypeAry* arr0 = TypeAry::make(etype, TypeInt::POS);
|
||||
// We used to pass NotNull in here, asserting that the sub-arrays
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user