JavaMethodRef2.st
branchdevelopment
changeset 2820 1ab75f8aa9de
parent 2731 13f5be2bf83b
child 2973 64ec2085e797
--- a/JavaMethodRef2.st	Sat Oct 12 15:53:06 2013 +0200
+++ b/JavaMethodRef2.st	Sat Oct 12 18:10:18 2013 +0200
@@ -82,7 +82,7 @@
     
     valueCache := JavaResolver uniqueInstance 
                 resolveMethodIndentifiedByRef: self.
-    classCache := (constantPool at: classRefIndex) resolve: doClassInit.
+    classCache := self classRef resolve: doClassInit.
     classCache isNil ifTrue: [ self breakPoint: #mh ].
     nameAndTypeCache := (constantPool at: nameAndTypeIndex) resolve.
     nameAndTypeCache isNil ifTrue: [ self breakPoint: #mh ].
@@ -93,6 +93,7 @@
     "Modified: / 18-05-2011 / 12:44:07 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
     "Created: / 09-02-2012 / 23:10:32 / mh <hlopik@gmail.com>"
     "Modified: / 22-08-2012 / 14:53:38 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 12-10-2013 / 18:07:26 / Marcel Hlopko <marcel.hlopko@fit.cvut.cz>"
 ! !
 
 !JavaMethodRef2 methodsFor:'queries'!