src/hotspot/share/utilities/vmError.cpp
changeset 50015 d0a350777bd1
parent 49980 57dd7b4ba338
child 50113 caf115bb98ad
child 56535 532bc255382f
--- a/src/hotspot/share/utilities/vmError.cpp	Fri May 04 09:46:08 2018 -0700
+++ b/src/hotspot/share/utilities/vmError.cpp	Fri May 04 17:52:10 2018 -0400
@@ -1620,6 +1620,9 @@
 }
 
 #ifndef PRODUCT
+#if defined(__SUNPRO_CC) && __SUNPRO_CC >= 0x5140
+#pragma error_messages(off, SEC_NULL_PTR_DEREF)
+#endif
 typedef void (*voidfun_t)();
 // Crash with an authentic sigfpe
 static void crash_with_sigfpe() {