mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
8000725: NPG: method_holder() and pool_holder() and pool_holder field should be InstanceKlass
Change types of above methods and field to InstanceKlass and remove unneeded casts from the source files. Reviewed-by: dholmes, coleenp, zgu
This commit is contained in:
parent
e1d995ab86
commit
7fee66f152
39 changed files with 176 additions and 179 deletions
|
@ -2822,7 +2822,7 @@ JvmtiEnv::GetLocalVariableTable(Method* method_oop, jint* entry_count_ptr, jvmti
|
|||
JavaThread* current_thread = JavaThread::current();
|
||||
|
||||
// does the klass have any local variable information?
|
||||
InstanceKlass* ik = InstanceKlass::cast(method_oop->method_holder());
|
||||
InstanceKlass* ik = method_oop->method_holder();
|
||||
if (!ik->access_flags().has_localvariable_table()) {
|
||||
return (JVMTI_ERROR_ABSENT_INFORMATION);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue