bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re2: Crash when trying to load corrupt file with NSDictionary -initW


From: Gregory John Casamento
Subject: Re: Re2: Crash when trying to load corrupt file with NSDictionary -initWithContentsOfFile:
Date: Thu, 30 Jun 2005 18:41:58 -0700 (PDT)

All,

--- David Ayers <d.ayers@inode.at> wrote:

> Richard Frith-Macdonald wrote:
> > On 2005-06-30 12:14:37 +0100 David Ayers <d.ayers@inode.at> wrote:
> > 
> >> Richard Frith-Macdonald wrote:
> >>
> >>
> >>
> >> FWIW, remember that -raise technically can return!  See the past
> >> discussion about the uncaught exception handler in -gui.
> > 
> > 
> > I missed that ... I think it's a bug.
> 
> I violently agree, yet others saw this as a feature.
> 
> > The -raise method should never return ... that's the MacOS-X behavior
> > (and the MacOS-X documentation says that -raise will terminate the
> > program irrespective of the behavior of the exception handler).

That's not entirely accurate...
 
> It seems they also saw the light :-)
> 
> > I guess we need to correct the implementation of -raise
> 
> I'm all for it.

Just to clarify, the docs say: 

"The program then terminates, regardless of the actions taken by the *uncaught*
exception handler."

from:

http://developer.apple.com/documentation/Cocoa/Reference/Foundation/ObjC_classic/Classes/NSException.html#//apple_ref/doc/uid/20000061-CJHDDFII

> 
> Cheers,
> David

Later, GJC

Gregory John Casamento 
-- CEO/President Open Logic Corp. (A MD Corp.)
## Maintainer of Gorm (IB Equiv.) for GNUstep.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]