--- old/src/os/solaris/vm/attachListener_solaris.cpp 2017-06-28 09:41:39.838861018 -0400 +++ new/src/os/solaris/vm/attachListener_solaris.cpp 2017-06-28 09:41:39.452874114 -0400 @@ -27,6 +27,7 @@ #include "runtime/os.inline.hpp" #include "services/attachListener.hpp" #include "services/dtraceAttacher.hpp" +#include "utilities/vmError.hpp" #include #include @@ -309,7 +310,7 @@ // if we are stopped at ShowMessageBoxOnError then maybe we can // load a diagnostic library - if (res == 0 && is_error_reported()) { + if (res == 0 && VMError::is_error_reported()) { if (ShowMessageBoxOnError) { // TBD - support loading of diagnostic library here }