mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +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
|
@ -753,7 +753,7 @@ void JvmtiClassFileReconstituter::copy_bytecodes(methodHandle mh,
|
|||
|
||||
unsigned char* p = bytecodes;
|
||||
Bytecodes::Code code;
|
||||
bool is_rewritten = InstanceKlass::cast(mh->method_holder())->is_rewritten();
|
||||
bool is_rewritten = mh->method_holder()->is_rewritten();
|
||||
|
||||
while ((code = bs.next()) >= 0) {
|
||||
assert(Bytecodes::is_java_code(code), "sanity check");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue