diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-04-04 23:25:09 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-04-04 23:25:09 +0000 |
commit | cfccb34552155a0866a25cf5fc17a98b1565f29d (patch) | |
tree | 69263b8da1ad85374698a5321589ea97c4c382ff /libjava/prims.cc | |
parent | d86ccd2cf85cab143f2ad064a0eebb1092397c2b (diff) | |
download | gcc-cfccb34552155a0866a25cf5fc17a98b1565f29d.tar.gz |
PR libgcj/26990:
* prims.cc (_Jv_RunMain): Use exitNoChecksAccessor.
* gnu/java/lang/natMainThread.cc (call_main): Use
exitNoChecksAccessor.
* testsuite/libjava.lang/pr26990.out: New file.
* testsuite/libjava.lang/pr26990.java: New file.
* java/lang/Runtime.java (exitNoChecks): New method.
(exitNoChecksAccessor): Likewise.
(exit): Call exitNoChecks.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112685 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/prims.cc')
-rw-r--r-- | libjava/prims.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/prims.cc b/libjava/prims.cc index 1ef56742398..5e016c94c78 100644 --- a/libjava/prims.cc +++ b/libjava/prims.cc @@ -1525,7 +1525,7 @@ _Jv_RunMain (JvVMInitArgs *vm_args, jclass klass, const char *name, int argc, ("Exception during runtime initialization")); t->printStackTrace(); if (runtime) - runtime->exit (1); + java::lang::Runtime::exitNoChecksAccessor (1); // In case the runtime creation failed. ::exit (1); } |