This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the GCJ project. See the GCJ home page for more information.


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

Re: stack overflow & null pointer exceptions


> From: Godmar Back <gback@cs.utah.edu>
> Date: Wed, 7 Apr 1999 15:26:15 -0600 (MDT) 
> 
>  Hi,
> 
> it appears that gcj does not yet implement stack overflow errors properly:
> the following program segfaults.  
> 
> Apropos segfaulting: it also appears as though NullPointerExceptions aren't
> properly caught (?).  See the second test case.

NullPointerExceptions and ArithmeticExceptions are now caught on x86
Linux and SPARC Solaris.  I'm still considering what to do about stack
overflows.

Andrew.