< prev index next >

src/hotspot/share/prims/jvmtiExport.cpp

Print this page

        

@@ -1587,11 +1587,11 @@
     // the address of a "raw result" and we just call into the interpreter to
     // convert this into a jvalue.
     if (!exception_exit) {
       oop oop_result;
       BasicType type = current_frame.interpreter_frame_result(&oop_result, &value);
-      if (type == T_OBJECT || type == T_ARRAY) {
+      if (is_reference_type(type)) {
         result = Handle(thread, oop_result);
       }
     }
 
     JvmtiEnvThreadStateIterator it(state);
< prev index next >