branch | jk_new_structure |
changeset 1638 | 6a2600baedb7 |
parent 1637 | 6a971ebbfb81 |
child 1751 | 784651ca2ff2 |
--- a/src/JavaLookup.st Tue Aug 21 11:26:45 2012 +0000 +++ b/src/JavaLookup.st Tue Aug 21 12:34:05 2012 +0000 @@ -169,10 +169,12 @@ %{ OBJ method; method = __lookup(initialSearchClass, selector); - if ( method && ilcCache ) { - __ilcBind(ilcCache, initialSearchClass, method, selector); + if ( method ) { + if ( ilcCache ) { + __ilcBind(ilcCache, initialSearchClass, method, selector); + } + RETURN (method); } - RETURN (method); %}. sendingContext programmingLanguage isSmalltalk ifTrue:[