diff -r 8eeacdc76bf2 -r 75aa3e39d02c hotspot/src/share/vm/runtime/sharedRuntime.cpp --- a/hotspot/src/share/vm/runtime/sharedRuntime.cpp Wed Jul 05 11:03:19 2017 -0700 +++ b/hotspot/src/share/vm/runtime/sharedRuntime.cpp Thu Jul 06 01:50:26 2017 +0200 @@ -1129,6 +1129,8 @@ : Bytecodes::_invokevirtual; } break; + default: + break; } } } else { @@ -1379,7 +1381,7 @@ // which may happen when multiply alive nmethod (tiered compilation) // will be supported. if (!callee_method->is_old() && - (callee == NULL || callee->is_in_use() && (callee_method->code() == callee))) { + (callee == NULL || (callee->is_in_use() && callee_method->code() == callee))) { #ifdef ASSERT // We must not try to patch to jump to an already unloaded method. if (dest_entry_point != 0) { @@ -3168,4 +3170,3 @@ } return activation; } -