--- a/src/JavaStringRef2.st Fri Dec 02 22:59:14 2011 +0000
+++ b/src/JavaStringRef2.st Sat Dec 03 11:59:36 2011 +0000
@@ -79,10 +79,11 @@
!
findResolvedValue
- valueCache := Java as_String: (constantPool at: valueIndex).
+ valueCache := JavaVM javaStringObjectForString:(constantPool at: valueIndex) interned: true.
^ valueCache.
"Created: / 13-05-2011 / 17:21:49 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
+ "Modified: / 03-12-2011 / 12:52:04 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
hash
@@ -141,8 +142,11 @@
!JavaStringRef2 methodsFor:'resolving'!
resolve:init
-"has no meaining here, do the same thing"
-self resolve.
+ "There is no notion of initialization of strings. do
+ plain resolve here"
+ ^self resolve.
+
+ "Modified: / 03-12-2011 / 12:24:38 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
!JavaStringRef2 class methodsFor:'documentation'!