This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: java/5986: SIGSEGV in __gcj_personality_v0


The following reply was made to PR java/5986; it has been noted by GNATS.

From: Jeff Sturm <jsturm@one-point.com>
To: Tom Tromey <tromey@redhat.com>
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: java/5986: SIGSEGV in __gcj_personality_v0
Date: Wed, 20 Mar 2002 20:19:59 -0500 (EST)

 On 20 Mar 2002, Tom Tromey wrote:
 > I can't find the attachment.
 > Could you send the program?
 
 Try this one.
 
 public class CrashEH {
   public void t() throws Exception {
     try {
       try {
         throw new Exception();
       } catch (Exception e) {
         throw e;
       }
     } finally {
       System.out.println("cleanup");
     }
   }
   public static void main(String[] args) {
     try {
       (new CrashEH()).t();
     } catch (Exception ex) {
       System.out.println("ok");
     }
   }
 }
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]