diff options
Diffstat (limited to 'libjava/prims.cc')
-rw-r--r-- | libjava/prims.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libjava/prims.cc b/libjava/prims.cc index cf0fed10dd4..9281711ae89 100644 --- a/libjava/prims.cc +++ b/libjava/prims.cc @@ -147,10 +147,10 @@ unblock_signal (int signum __attribute__ ((__unused__))) #ifdef HANDLE_SEGV SIGNAL_HANDLER (catch_segv) { - java::lang::NullPointerException *nullp - = new java::lang::NullPointerException; unblock_signal (SIGSEGV); MAKE_THROW_FRAME (nullp); + java::lang::NullPointerException *nullp + = new java::lang::NullPointerException; throw nullp; } #endif @@ -158,14 +158,14 @@ SIGNAL_HANDLER (catch_segv) #ifdef HANDLE_FPE SIGNAL_HANDLER (catch_fpe) { - java::lang::ArithmeticException *arithexception - = new java::lang::ArithmeticException (JvNewStringLatin1 ("/ by zero")); unblock_signal (SIGFPE); #ifdef HANDLE_DIVIDE_OVERFLOW HANDLE_DIVIDE_OVERFLOW; #else MAKE_THROW_FRAME (arithexception); #endif + java::lang::ArithmeticException *arithexception + = new java::lang::ArithmeticException (JvNewStringLatin1 ("/ by zero")); throw arithexception; } #endif |