--- old/src/hotspot/share/prims/jvmtiExport.cpp 2019-03-11 14:27:04.802354344 +0100 +++ new/src/hotspot/share/prims/jvmtiExport.cpp 2019-03-11 14:27:04.586354347 +0100 @@ -1584,7 +1584,7 @@ if (!exception_exit) { oop oop_result; BasicType type = current_frame.interpreter_frame_result(&oop_result, &value); - if (type == T_OBJECT || type == T_ARRAY) { + if (type == T_OBJECT || type == T_ARRAY || type == T_VALUETYPE) { result = Handle(thread, oop_result); } }