src/hotspot/share/utilities/vmError.cpp
branchepsilon-gc-branch
changeset 56535 532bc255382f
parent 56533 28a4f284ad83
parent 50015 d0a350777bd1
child 56578 e8414c8ead61
--- a/src/hotspot/share/utilities/vmError.cpp	Fri May 04 19:29:01 2018 +0200
+++ b/src/hotspot/share/utilities/vmError.cpp	Sun May 06 16:19:56 2018 +0200
@@ -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() {