fixed dissassembler, ltb changed class resolving jk_new_structure
authorhlopkmar
Thu, 19 May 2011 11:10:09 +0000
branchjk_new_structure
changeset 805 357902dfedca
parent 804 c125b8449315
child 806 7d1f2ba6d2df
fixed dissassembler, ltb changed class resolving
src/JavaByteCodeDisassembler.st
src/JavaResolver.st
src/stx_libjava.st
--- a/src/JavaByteCodeDisassembler.st	Thu May 19 08:51:37 2011 +0000
+++ b/src/JavaByteCodeDisassembler.st	Thu May 19 11:10:09 2011 +0000
@@ -291,20 +291,20 @@
 !
 
 indexedFieldStorer
-   | index |
+    | index |
 
     wide 
         ifTrue: 
             [ index := self fetchIndex2.
             wide := false. ]
-           ifFalse: [ index := self fetchIndex ].
-
-               self writeInstructionWithArgs: (self prettyPrintIndex: index)
-                stackBefore: (self prettyPrintField: index)
-                after: self whatever.
+        ifFalse: [ index := self fetchIndex ].
+    self 
+        writeInstructionWithArgs: (self prettyPrintField: index)
+        stackBefore: (self prettyPrintValue:'newVal')
+        after: self whatever.
 
     "Created: / 20-03-2011 / 20:53:41 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
-    "Modified: / 21-03-2011 / 15:26:21 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
+    "Modified: / 19-05-2011 / 13:04:05 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
 !
 
 returnIfFinished
--- a/src/JavaResolver.st	Thu May 19 08:51:37 2011 +0000
+++ b/src/JavaResolver.st	Thu May 19 11:10:09 2011 +0000
@@ -125,10 +125,10 @@
 !
 
 loadUnresolvedClass: aJavaClassRef 
-    ^ JavaClassReader loadClass: aJavaClassRef javaClassName.
+    ^ Java classForName: aJavaClassRef javaClassName.
 
     "Created: / 11-04-2011 / 19:27:10 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
-    "Modified: / 12-05-2011 / 16:17:59 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
+    "Modified: / 19-05-2011 / 13:10:27 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
 !
 
 loadUnresolvedClass: aJavaClassRef withJavaClassLoader: classLoader 
--- a/src/stx_libjava.st	Thu May 19 08:51:37 2011 +0000
+++ b/src/stx_libjava.st	Thu May 19 11:10:09 2011 +0000
@@ -366,7 +366,7 @@
     "Return a SVN revision number of myself.
      This number is updated after a commit"
 
-    ^ "$SVN-Revision:"'1147'"$"
+    ^ "$SVN-Revision:"'1148'"$"
 ! !
 
 !stx_libjava class methodsFor:'file generation'!