* Source/NSException.m (-raise): Only set the stack when the

exception gets first raised. This fixes bug #35192
Patch by Larry Campbell <lcampbel@akamai.com>


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34398 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2012-01-03 09:34:10 +00:00
parent fa4435dec6
commit bb4c52dfff
2 changed files with 11 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2012-01-03 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSException.m (-raise): Only set the stack when the
exception gets first raised. This fixes bug #35192
Patch by Larry Campbell <lcampbel@akamai.com>
2012-01-02 22:26-EST Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSXMLElement.h: Change _attributes to be

View file

@ -957,7 +957,11 @@ callUncaughtHandler(id value)
{
_reserved = NSZoneCalloc([self zone], 2, sizeof(id));
}
_e_stack = [GSStackTrace new];
if (nil == _e_stack)
{
// Only set the stack when first raised
_e_stack = [GSStackTrace new];
}
#if defined(_NATIVE_OBJC_EXCEPTIONS)
@throw self;