mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8263721: Unify oop casting
Reviewed-by: kbarrett, coleenp
This commit is contained in:
parent
329697b02e
commit
a79f095697
90 changed files with 248 additions and 249 deletions
|
@ -2047,7 +2047,7 @@ void JvmtiExport::post_raw_field_modification(JavaThread *thread, Method* method
|
|||
// convert oop to JNI handle.
|
||||
if (sig_type == JVM_SIGNATURE_CLASS) {
|
||||
handle_created = true;
|
||||
value->l = (jobject)JNIHandles::make_local(thread, (oop)value->l);
|
||||
value->l = (jobject)JNIHandles::make_local(thread, cast_to_oop(value->l));
|
||||
}
|
||||
|
||||
post_field_modification(thread, method, location, field_klass, object, field, sig_type, value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue