summaryrefslogtreecommitdiff
path: root/libobjc/ChangeLog
diff options
context:
space:
mode:
authornicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>2011-10-08 17:52:06 +0000
committernicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>2011-10-08 17:52:06 +0000
commit4b8d945649d66671bf58e649fa8493923ec4d7da (patch)
treec87aa33515b54b89054895be5d96b1b5bee58c6b /libobjc/ChangeLog
parent7be847203ece8a7692cacad261a92ee4dc85b3f1 (diff)
downloadgcc-4b8d945649d66671bf58e649fa8493923ec4d7da.tar.gz
In libobjc/:
2011-10-08 Richard Frith-Macdonald <rfm@gnu.org> Nicola Pero <nicola.pero@meta-innovation.com> PR libobjc/50428 * sendmsg.c (__objc_send_initialize): If a class does not have an +initialize method, search for an +initialize method in the superclass and in the ancestor classes and execute the first one that is found. This makes the GNU runtime behave in the same way as the Apple/NeXT runtime with respect to +initialize methods and subclassing. In gcc/: 2011-10-08 Nicola Pero <nicola.pero@meta-innovation.com> PR libobjc/50428 * doc/objc.texi (Garbage Collection): Updated example to protect +initialize against execution in subclasses. In gcc/testsuite/: 2011-10-08 Nicola Pero <nicola.pero@meta-innovation.com> PR libobjc/50428 * objc/execute/initialize-1.m: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179711 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc/ChangeLog')
-rw-r--r--libobjc/ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog
index b9f87fabec9..f88f2f45cdf 100644
--- a/libobjc/ChangeLog
+++ b/libobjc/ChangeLog
@@ -1,3 +1,14 @@
+2011-10-08 Richard Frith-Macdonald <rfm@gnu.org>
+ Nicola Pero <nicola.pero@meta-innovation.com>
+
+ PR libobjc/50428
+ * sendmsg.c (__objc_send_initialize): If a class does not have an
+ +initialize method, search for an +initialize method in the
+ superclass and in the ancestor classes and execute the first one
+ that is found. This makes the GNU runtime behave in the same way
+ as the Apple/NeXT runtime with respect to +initialize methods and
+ subclassing.
+
2011-08-06 Nicola Pero <nicola.pero@meta-innovation.com>
PR libobjc/50002