--- old/src/share/vm/prims/jvmtiImpl.cpp 2017-06-28 15:45:00.000000000 -0700 +++ new/src/share/vm/prims/jvmtiImpl.cpp 2017-06-28 15:45:00.000000000 -0700 @@ -682,6 +682,8 @@ case T_ARRAY: slot_type = T_OBJECT; break; + default: + break; }; if (_type != slot_type) { _result = JVMTI_ERROR_TYPE_MISMATCH;