libgcj/289: exit value after uncatched exception should be non-zero
Tom Tromey
tromey@cygnus.com
Wed Jul 19 07:30:00 GMT 2000
The following reply was made to PR libgcj/289; it has been noted by GNATS.
From: Tom Tromey <tromey@cygnus.com>
To: osk@hem.passagen.se
Cc: java-gnats@sourceware.cygnus.com
Subject: Re: libgcj/289: exit value after uncatched exception should be non-zero
Date: Wed, 19 Jul 2000 07:26:16 -0700 (PDT)
Oskar> When a program exits because of an uncatched exception,
Oskar> the exit value should be non-zero. Programs compiled
Oskar> with gcj returns with 0 with an exception is thrown,
Oskar> and the same applies for gij.
Unfortunately this looks hard to fix. Suppose there are two threads
and one exits this way and the other exits normally? I guess we could
add a special case when there is a single thread.
Tom
More information about the Java-prs
mailing list