bug-gnustep
[Top][All Lists]
Advanced

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

Re: NSArray bug


From: Alexander Malmberg
Subject: Re: NSArray bug
Date: Thu, 07 Nov 2002 22:10:27 +0100

Andy Ruder wrote:
> 
> I'm guessing this is an NSArray bug
> I've attached a small program (5 lines)
> that bombs with the exception
> : Uncaught exception NSGenericException,
> reason: subclass GSString(instance) should override
> length
> 
> Please look at it as it kills my most recent TalkSoup
> (which I was about to make a release of)

GSMutableString's -makeImmutableCopyOnFail: was setting the class to
GSString. I fixed it to set it to one of the concrete sub-classes
(GSCString or GSUnicodeString, depending on _flags.wide).

- Alexander Malmberg




reply via email to

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