author | vranyj1 |
Tue, 21 Aug 2012 12:34:05 +0000 | |
branch | jk_new_structure |
changeset 1638 | 6a2600baedb7 |
parent 1637 | 6a971ebbfb81 |
child 1639 | 1397423bcd97 |
src/JavaLookup.st | file | annotate | diff | comparison | revisions |
--- 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:[