Author: theraven
Date: Thu Jan 21 21:27:02 2010
New Revision: 29347

URL: http://svn.gna.org/viewcvs/gnustep?rev=29347&view=rev
Log:
Fixed a bug with category loading.  Previously, a method in a category that 
overrode a method in the superclass would only be picked up by subclasses that 
were not yet initialized. 

Quentin: This was the category loading problem that you saw.  It was dependent 
upon load order, so was difficult to reproduce, however a Smalltalk category on 
NSString overriding a method from NSObject demonstrated it (because GSString 
was always initialized by the time Smalltalk code is loaded because LKCompiler 
use it, but not by the time ObjC code is loaded).  


Modified:
    libs/libobjc2/trunk/sendmsg.c


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to