--- old/src/share/vm/utilities/xmlstream.cpp 2017-06-28 09:44:39.052649060 -0400 +++ new/src/share/vm/utilities/xmlstream.cpp 2017-06-28 09:44:38.806852999 -0400 @@ -32,11 +32,12 @@ #include "oops/oop.inline.hpp" #include "runtime/deoptimization.hpp" #include "runtime/vmThread.hpp" +#include "utilities/vmError.hpp" #include "utilities/xmlstream.hpp" // Do not assert this condition if there's already another error reported. #define assert_if_no_error(cond, msg) \ - vmassert((cond) || is_error_reported(), msg) + vmassert((cond) || VMError::is_error_reported(), msg) void xmlStream::initialize(outputStream* out) { _out = out; @@ -198,7 +199,7 @@ _element_depth -= 1; } if (bad_tag && !VMThread::should_terminate() && !VM_Exit::vm_exited() && - !is_error_reported()) + !VMError::is_error_reported()) { assert(false, "bad tag in log"); }