diff -r 7801367e3cc9 -r 6e4a84748e2c hotspot/src/share/vm/interpreter/bytecode.cpp --- a/hotspot/src/share/vm/interpreter/bytecode.cpp Thu Jul 27 15:36:15 2017 +0200 +++ b/hotspot/src/share/vm/interpreter/bytecode.cpp Thu Jul 27 18:06:41 2017 -0400 @@ -212,7 +212,7 @@ } oop Bytecode_loadconstant::resolve_constant(TRAPS) const { - assert(_method.not_null(), "must supply method to resolve constant"); + assert(_method != NULL, "must supply method to resolve constant"); int index = raw_index(); ConstantPool* constants = _method->constants(); if (has_cache_index()) {