--- old/src/hotspot/share/runtime/frame.cpp 2018-04-26 07:08:52.188000229 -0400 +++ new/src/hotspot/share/runtime/frame.cpp 2018-04-26 07:08:51.936985582 -0400 @@ -52,6 +52,12 @@ #include "utilities/decoder.hpp" #include "utilities/formatBuffer.hpp" +#ifndef PRODUCT +#if defined(__SUNPRO_CC) && __SUNPRO_CC >= 0x5140 +#pragma error_messages(off, SEC_NULL_PTR_DEREF) +#endif +#endif /* PRODUCT */ + RegisterMap::RegisterMap(JavaThread *thread, bool update_map) { _thread = thread; _update_map = update_map;