Follow-up Comment #9, bug #36706 (project gnustep):

Thank you for your further analysis. It is quite interesting that I am getting
different behaviour from you. This is the result with the libobjc that comes
with gcc:

2012-07-06 14:34:25.200 perform[25646] First Test - Direct sending known
method
2012-07-06 14:34:25.236 perform[25646] Foo methodSignatureForSelector called
with wibble
2012-07-06 14:34:25.236 perform[25646] Returning sig <NSMethodSignature:
0x7ad938>
2012-07-06 14:34:25.236 perform[25646] Foo methodSignatureForSelector called
with wibble
2012-07-06 14:34:25.236 perform[25646] Returning sig <NSMethodSignature:
0x85e768>
2012-07-06 14:34:25.237 perform[25646] Foo - received <GSFFIInvocation
0x7985d8 selector: wibble target: Foo> on <Foo: 0x63f1d8> meta 0
2012-07-06 14:34:25.237 perform[25646] Wibble

2012-07-06 14:34:25.237 perform[25646] Second Test - performSelector with
known method
2012-07-06 14:34:25.237 perform[25646] Foo methodSignatureForSelector called
with wibble
2012-07-06 14:34:25.237 perform[25646] Returning sig <NSMethodSignature:
0x76e998>
2012-07-06 14:34:25.237 perform[25646] Foo - received <GSFFIInvocation
0x799718 selector: wibble target: Foo> on <Foo: 0x63f1d8> meta 0
2012-07-06 14:34:25.237 perform[25646] Wibble

2012-07-06 14:34:25.237 perform[25646] Third Test - performSelector with
unknown method
/home/fred/GNUstep/Examples/decimal/perform.app/perform: Uncaught exception
NSInvalidArgumentException, reason: -[nil blah]: unrecognized selector sent to
instance (null)

And ater commenting out the third test I get:

2012-07-06 14:42:03.737 perform[26679] First Test - Direct sending known
method
2012-07-06 14:42:03.739 perform[26679] Foo methodSignatureForSelector called
with wibble
2012-07-06 14:42:03.739 perform[26679] Returning sig <NSMethodSignature:
0x7ad938>
2012-07-06 14:42:03.739 perform[26679] Foo methodSignatureForSelector called
with wibble
2012-07-06 14:42:03.739 perform[26679] Returning sig <NSMethodSignature:
0x85e768>
2012-07-06 14:42:03.739 perform[26679] Foo - received <GSFFIInvocation
0x7985d8 selector: wibble target: Foo> on <Foo: 0x63f1d8> meta 0
2012-07-06 14:42:03.739 perform[26679] Wibble

2012-07-06 14:42:03.739 perform[26679] Second Test - performSelector with
known method
2012-07-06 14:42:03.740 perform[26679] Foo methodSignatureForSelector called
with wibble
2012-07-06 14:42:03.740 perform[26679] Returning sig <NSMethodSignature:
0x76e998>
2012-07-06 14:42:03.740 perform[26679] Foo - received <GSFFIInvocation
0x799718 selector: wibble target: Foo> on <Foo: 0x63f1d8> meta 0
2012-07-06 14:42:03.740 perform[26679] Wibble

2012-07-06 14:42:03.740 perform[26679] Fourth Test - Direct sending unknown
method
2012-07-06 14:42:03.740 perform[26679] Foo methodSignatureForSelector called
with blah
2012-07-06 14:42:03.740 perform[26679] Returning sig <NSMethodSignature:
0x772d38>
2012-07-06 14:42:03.740 perform[26679] Foo methodSignatureForSelector called
with blah
2012-07-06 14:42:03.740 perform[26679] Returning sig <NSMethodSignature:
0x766608>
2012-07-06 14:42:03.740 perform[26679] Foo - received <GSFFIInvocation
0x7a7ee8 selector: blah target: Foo> on <Foo: 0x63f1d8> meta 0
2012-07-06 14:42:03.740 perform[26679] Redirecting unknown method blah
2012-07-06 14:42:03.740 perform[26679] Wibble

2012-07-06 14:42:03.740 perform[26679] Fifth Test - performSelector with
unknown method, after directly sending it
2012-07-06 14:42:03.740 perform[26679] Foo methodSignatureForSelector called
with blah
2012-07-06 14:42:03.740 perform[26679] Returning sig <NSMethodSignature:
0x83d478>
2012-07-06 14:42:03.740 perform[26679] Foo - received <GSFFIInvocation
0x83de28 selector: blah target: Foo> on <Foo: 0x63f1d8> meta 0
2012-07-06 14:42:03.740 perform[26679] Redirecting unknown method blah
2012-07-06 14:42:03.740 perform[26679] Wibble


I hope that David and Nicola will be joining us for further discussion.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?36706>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-gnustep mailing list
Bug-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to