[pypy-commit] pypy default: Change signature to match how it is called. Fixes JVM exception when string-izing floats.

ademan noreply at buildbot.pypy.org
Sun Jul 3 05:33:40 CEST 2011


Author: Daniel Roberts <Ademan555 at gmail.com>
Branch: 
Changeset: r45291:85913f63ba89
Date: 2011-06-27 19:22 -0700
http://bitbucket.org/pypy/pypy/changeset/85913f63ba89/

Log:	Change signature to match how it is called. Fixes JVM exception when
	string-izing floats.

diff --git a/pypy/translator/jvm/src/pypy/PyPy.java b/pypy/translator/jvm/src/pypy/PyPy.java
--- a/pypy/translator/jvm/src/pypy/PyPy.java
+++ b/pypy/translator/jvm/src/pypy/PyPy.java
@@ -964,7 +964,7 @@
         return a + File.separator + b;
     }
 
-    public String ll_strtod_formatd(String format, double d)
+    public String ll_strtod_formatd(double d, char code, int precision, int flags)
     {
         // XXX: this is really a quick hack to make things work.
         // it should disappear, because this function is not


More information about the pypy-commit mailing list