< prev index next >

src/hotspot/os/posix/jvm_posix.cpp

Print this page

        

@@ -76,11 +76,11 @@
 
     case SHUTDOWN1_SIGNAL:
     case SHUTDOWN2_SIGNAL:
     case SHUTDOWN3_SIGNAL:
       if (ReduceSignalUsage) return (void*)-1;
-      if (os::Bsd::is_sig_ignored(sig)) return (void*)1;
+      if (os::Posix::is_sig_ignored(sig)) return (void*)1;
   }
 
   void* oldHandler = os::signal(sig, newHandler);
   if (oldHandler == os::user_handler()) {
       return (void *)2;

@@ -100,11 +100,11 @@
         sig == SHUTDOWN3_SIGNAL || sig == BREAK_SIGNAL) {
       return JNI_FALSE;
     }
   }
   else if ((sig == SHUTDOWN1_SIGNAL || sig == SHUTDOWN2_SIGNAL ||
-            sig == SHUTDOWN3_SIGNAL) && os::Bsd::is_sig_ignored(sig)) {
+            sig == SHUTDOWN3_SIGNAL) && os::Posix::is_sig_ignored(sig)) {
     // do not allow SHUTDOWN1_SIGNAL to be raised when SHUTDOWN1_SIGNAL
     // is ignored, since no handler for them is actually registered in JVM
     // or via JVM_RegisterSignal.
     // This also applies for SHUTDOWN2_SIGNAL and SHUTDOWN3_SIGNAL
     return JNI_FALSE;
< prev index next >