This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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: Question about POSIX libgcj signals / exception handling


Andrew Pinski writes:
 > 
 > On Mar 11, 2006, at 1:08 AM, David Daney wrote:
 > 
 > > SIGSEGV gets converted to NullPointerException.  This is unconditional 
 > > it happens even if the faulting location is far away from address 
 > > zero.      Native code is not treated any differently than the java 
 > > code. Any SIGSEGV is converted to NPE.
 > 
 > This is not true for the PPC OS X implementation.  Only null pointer 
 > accesses are
 > converted to NPEs.

In that case, I guess we can't use SIGSEGV handlers to handle NPEs.
Unfortunate, but it should still work OK.

Andrew.


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