Commit 9b8c19b4 by Alexandre Petit-Bianco Committed by Alexandre Petit-Bianco

exception.cc (cstdlib): Replaces stdlib.h.

2001-06-10  Alexandre Petit-Bianco  <apbianco@redhat.com>

        * exception.cc (cstdlib): Replaces stdlib.h.
        (_Jv_Throw): Use std::abort().
        (PERSONALITY_FUNCTION): Likewise.

(http://gcc.gnu.org/ml/gcc-patches/2001-06/msg00620.html )

From-SVN: r43153
parent 6cfc0341
2001-06-10 Alexandre Petit-Bianco <apbianco@redhat.com>
* exception.cc (cstdlib): Replaces stdlib.h.
(_Jv_Throw): Use std::abort().
(PERSONALITY_FUNCTION): Likewise.
2001-06-09 Alexandre Oliva <aoliva@redhat.com>, Stephen L Moshier <moshier@mediaone.net> 2001-06-09 Alexandre Oliva <aoliva@redhat.com>, Stephen L Moshier <moshier@mediaone.net>
* acinclude.m4 (AC_EXEEXT): Work around in case it expands to * acinclude.m4 (AC_EXEEXT): Work around in case it expands to
......
...@@ -11,7 +11,7 @@ details. */ ...@@ -11,7 +11,7 @@ details. */
#include <config.h> #include <config.h>
#include <stddef.h> #include <stddef.h>
#include <stdlib.h> #include <cstdlib>
#include <java/lang/Class.h> #include <java/lang/Class.h>
#include <java/lang/NullPointerException.h> #include <java/lang/NullPointerException.h>
...@@ -100,7 +100,7 @@ _Jv_Throw (jthrowable value) ...@@ -100,7 +100,7 @@ _Jv_Throw (jthrowable value)
recover. As is the way of such things, almost certainly we will have recover. As is the way of such things, almost certainly we will have
crashed before now, rather than actually being able to diagnose the crashed before now, rather than actually being able to diagnose the
problem. */ problem. */
abort (); std::abort ();
} }
...@@ -348,7 +348,7 @@ PERSONALITY_FUNCTION (int version, ...@@ -348,7 +348,7 @@ PERSONALITY_FUNCTION (int version,
// ??? Perhaps better to make them an index into a table // ??? Perhaps better to make them an index into a table
// of null-terminated strings instead of playing games // of null-terminated strings instead of playing games
// with Utf8Const+1 as above. // with Utf8Const+1 as above.
abort (); std::abort ();
} }
if (ar_disp == 0) if (ar_disp == 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment