git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35278 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2012-07-09 15:31:12 +00:00
parent 327b1beb91
commit 4555af88c0
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2012-07-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFFIInvocation.m: Fix for bug #36706
2012-07-09 Sebastian Reitenbach <buzzdee>
* Source/NSThread.m: Fixes test for posix thread scheduling.

View file

@ -191,6 +191,14 @@ static IMP gs_objc_msg_forward2 (id receiver, SEL sel)
}
if (nil == sig)
{
if (nil == receiver)
{
/* If we have a nil receiver, so the runtime is probably trying
* to check for forwarding ... return NULL to let it fall back
* on the standard forwarding mechanism.
*/
return NULL;
}
[NSException raise: NSInvalidArgumentException
format: @"%c[%s %s]: unrecognized selector sent to instance %p",
(class_isMetaClass(c) ? '+' : '-'),