[pypy-commit] pypy ootype-rerased: fix the signature of the oo{box, unbox}_int java methods
antocuni
noreply at buildbot.pypy.org
Thu Jul 21 23:55:16 CEST 2011
Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: ootype-rerased
Changeset: r45845:21953bca75cb
Date: 2011-07-21 23:55 +0200
http://bitbucket.org/pypy/pypy/changeset/21953bca75cb/
Log: fix the signature of the oo{box,unbox}_int java methods
diff --git a/pypy/translator/jvm/typesystem.py b/pypy/translator/jvm/typesystem.py
--- a/pypy/translator/jvm/typesystem.py
+++ b/pypy/translator/jvm/typesystem.py
@@ -963,8 +963,8 @@
PYPYRUNTIMENEW = Method.s(jPyPy, 'RuntimeNew', (jClass,), jObject)
PYPYSTRING2BYTES = Method.s(jPyPy, 'string2bytes', (jString,), jByteArray)
PYPYARRAYTOLIST = Method.s(jPyPy, 'array_to_list', (jObjectArray,), jArrayList)
-PYPYBOXINT = Method.s(jPyPy, 'box_integer', (jInt,), jIntegerClass)
-PYPYUNBOXINT = Method.s(jPyPy, 'unbox_integer', (jIntegerClass,), jInt)
+PYPYBOXINT = Method.s(jPyPy, 'box_integer', (jInt,), jObject)
+PYPYUNBOXINT = Method.s(jPyPy, 'unbox_integer', (jObject,), jInt)
PYPYOOPARSEFLOAT = Method.v(jPyPy, 'ooparse_float', (jString,), jDouble)
OBJECTGETCLASS = Method.v(jObject, 'getClass', (), jClass)
CLASSGETNAME = Method.v(jClass, 'getName', (), jString)
More information about the pypy-commit
mailing list