[pypy-svn] r50615 - pypy/branch/fixed-list-ootype/pypy/translator/jvm

cfbolz at codespeak.net cfbolz at codespeak.net
Mon Jan 14 23:03:28 CET 2008


Author: cfbolz
Date: Mon Jan 14 23:03:26 2008
New Revision: 50615

Modified:
   pypy/branch/fixed-list-ootype/pypy/translator/jvm/generator.py
Log:
(antocuni): make even more array tests pass


Modified: pypy/branch/fixed-list-ootype/pypy/translator/jvm/generator.py
==============================================================================
--- pypy/branch/fixed-list-ootype/pypy/translator/jvm/generator.py	(original)
+++ pypy/branch/fixed-list-ootype/pypy/translator/jvm/generator.py	Mon Jan 14 23:03:26 2008
@@ -160,7 +160,7 @@
         elif desc == '[B':
             s = "newarray byte"
         else:
-            s = "anewarray " + arraytype.element_type.descriptor
+            s = "anewarray " + arraytype.element_type.descriptor.int_class_name()
         self.cache[arraytype] = obj = Opcode(s)
         return obj
 



More information about the Pypy-commit mailing list