--- a/JavaMethodref.st Thu Jun 27 16:31:19 1996 +0000
+++ b/JavaMethodref.st Thu Jun 27 18:38:57 1996 +0000
@@ -33,15 +33,18 @@
!JavaMethodref methodsFor:'resolving'!
method
- |nm sig mthd|
+ |nm sig mthd cls|
method notNil ifTrue:[^ method].
(class isMemberOf:JavaUnresolvedClassConstant) ifTrue:[
- class := class resolve
+ cls := class resolve.
+ cls notNil ifTrue:[
+ class := cls
+ ]
].
(class isMemberOf:JavaUnresolvedClassConstant) ifTrue:[
- self halt.
+ self halt:'unresolved class'.
].
sel isNil ifTrue:[
@@ -70,7 +73,7 @@
cls := cls resolve
].
(cls isMemberOf:JavaUnresolvedClassConstant) ifTrue:[
- self halt.
+ self halt:'unresolved class'.
].
sel isNil ifTrue:[
@@ -92,5 +95,5 @@
!JavaMethodref class methodsFor:'documentation'!
version
- ^ '$Header: /home/jv/Projects/SmalltalkX/repositories/cvs/stx/libjava/JavaMethodref.st,v 1.10 1996/06/25 19:56:26 cg Exp $'
+ ^ '$Header: /home/jv/Projects/SmalltalkX/repositories/cvs/stx/libjava/JavaMethodref.st,v 1.11 1996/06/27 18:38:57 cg Exp $'
! !