[pypy-svn] r69327 - pypy/trunk/pypy/translator/jvm

antocuni at codespeak.net antocuni at codespeak.net
Mon Nov 16 16:10:09 CET 2009


Author: antocuni
Date: Mon Nov 16 16:10:08 2009
New Revision: 69327

Modified:
   pypy/trunk/pypy/translator/jvm/metavm.py
Log:
fix test_objectmodel.test_rtype_r_dict_bm, which was broken by the change of signature of oonewcustomdict in 69305


Modified: pypy/trunk/pypy/translator/jvm/metavm.py
==============================================================================
--- pypy/trunk/pypy/translator/jvm/metavm.py	(original)
+++ pypy/trunk/pypy/translator/jvm/metavm.py	Mon Nov 16 16:10:08 2009
@@ -78,7 +78,7 @@
             # object, using the "bind()" static method that bound
             # method wrapper classes have.
             INSTANCE = obj.concretetype
-            method_name = method_name.value
+            method_name = method_name.value._str
             ty = db.record_delegate_bound_method_impl(INSTANCE, method_name)
             gen.load(obj)
             gen.emit(ty.bind_method)



More information about the Pypy-commit mailing list