< prev index next >

src/hotspot/share/prims/jvmtiExport.cpp

Print this page
@@ -2044,11 +2044,11 @@
  
    assert(sig_type != JVM_SIGNATURE_ARRAY, "array should have sig_type == 'L'");
    bool handle_created = false;
  
    // convert oop to JNI handle.
-   if (sig_type == JVM_SIGNATURE_CLASS) {
+   if (sig_type == JVM_SIGNATURE_CLASS || sig_type == JVM_SIGNATURE_INLINE_TYPE) {
      handle_created = true;
      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);
< prev index next >