src/JavaMethodWithException.st
branchjk_new_structure
changeset 836 b64228c3acaa
parent 752 ff7bc6428c9c
child 837 8f42226d82c0
--- a/src/JavaMethodWithException.st	Sat Jun 04 14:49:13 2011 +0000
+++ b/src/JavaMethodWithException.st	Sat Jun 04 15:08:01 2011 +0000
@@ -44,17 +44,14 @@
 !JavaMethodWithException methodsFor:'accessing'!
 
 exceptionTable
-    exceptionTable notNil 
-        ifTrue:
-            [ exceptionTable := exceptionTable collect:
-                [:clsRef | 
-                clsRef isUnresolved 
-                    ifTrue:[ clsRef javaClass ] 
-                    ifFalse:[ clsRef ]]].
-    ^ exceptionTable
+    exceptionTable notNil ifTrue: [
+        exceptionTable := exceptionTable collect: [:classRef | classRef resolve ]
+    ].
+    ^ exceptionTable.
 
     "Created: / 05-11-1998 / 19:58:38 / cg"
     "Modified: / 04-02-2011 / 22:07:25 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 04-06-2011 / 17:05:24 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
 !
 
 getExceptionTable