>Number:         1837
>Category:       gnustep
>Synopsis:       Incorrect NSString API
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    fedor
>State:          open
>Class:          sw-bug
>Submitter-Id:   unknown
>Arrival-Date:   Sun Jul 30 17:30:01 EDT 2000
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
net
>Release:        0.6.5 (CVS)
>Environment:
RedHat 5.x with current (7/30/2000) cvs head.
>Description:
When creating an NSString subclass, I get an exception:
"Uncaught exception NSGenericException, reason: subclass 
NLSCaseInsensitiveString should override cStringLength",
which I shouldn't get, since, by the Apple API's, you should
only need to implement -characterAtIndex: and -length.

BTW, then came up when porting some WOF 4.5 classes to GNUstep.
>How-To-Repeat:
Create an NSString subclass that implements characterAtIndex: and length, but
not cStringLength and attempt to print it's description.

%0
>Fix:
>Audit-Trail:
>Unformatted:

Reply via email to