--- old/src/share/vm/oops/method.cpp 2017-06-28 09:42:14.187188303 -0400 +++ new/src/share/vm/oops/method.cpp 2017-06-28 09:42:13.845090975 -0400 @@ -59,6 +59,7 @@ #include "runtime/sharedRuntime.hpp" #include "runtime/signature.hpp" #include "utilities/quickSort.hpp" +#include "utilities/vmError.hpp" #include "utilities/xmlstream.hpp" // Implementation of Method @@ -242,7 +243,7 @@ #ifdef ASSERT { ResourceMark rm; - assert(is_native() && bcp == code_base() || contains(bcp) || is_error_reported(), + assert(is_native() && bcp == code_base() || contains(bcp) || VMError::is_error_reported(), "bcp doesn't belong to this method: bcp: " INTPTR_FORMAT ", method: %s", p2i(bcp), name_and_sig_as_C_string()); }