mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 20:44:41 +02:00
8000213: NPG: Should have renamed arrayKlass and typeArrayKlass
Capitalize these metadata types (and objArrayKlass) Reviewed-by: stefank, twisti, kvn
This commit is contained in:
parent
9972f3d338
commit
28047d6a0f
79 changed files with 440 additions and 443 deletions
|
@ -290,7 +290,7 @@ checkArray(JavaThread* thr, jarray jArray, int elementType)
|
|||
|
||||
if (elementType != -1) {
|
||||
if (aOop->is_typeArray()) {
|
||||
BasicType array_type = typeArrayKlass::cast(aOop->klass())->element_type();
|
||||
BasicType array_type = TypeArrayKlass::cast(aOop->klass())->element_type();
|
||||
if (array_type != elementType)
|
||||
ReportJNIFatalError(thr, fatal_element_type_mismatch);
|
||||
} else if (aOop->is_objArray()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue