src/JavaClass.st
branchjk_new_structure
changeset 1495 e661836af8e6
parent 1483 3488eebbc835
child 1502 8caaac85827f
--- a/src/JavaClass.st	Sat May 12 19:40:19 2012 +0000
+++ b/src/JavaClass.st	Sat May 12 20:12:17 2012 +0000
@@ -1300,7 +1300,7 @@
 
     (selector includes: $() ifTrue:[
         "Java selector, search static methods"    
-        method := methodDictionary at:selector.
+        method := methodDictionary at:selector ifAbsent:[nil].
         method notNil ifTrue:[
             method isStatic ifTrue:[
                 ^ method
@@ -1336,8 +1336,8 @@
     ].
 
     "Created: / 19-09-2011 / 23:33:06 / Jan Kurs <kursjan@fit.cvut.cz>"
-    "Modified: / 06-12-2011 / 23:19:54 / Jan Vrany <jan.vrany@fit.cvut.cz>"
     "Modified: / 10-04-2012 / 16:47:31 / kursjan"
+    "Modified: / 12-05-2012 / 21:01:08 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
 !JavaClass methodsFor:'java initialization'!