[pypy-svn] r36484 - pypy/dist/pypy/translator/jvm/src

niko at codespeak.net niko at codespeak.net
Thu Jan 11 15:08:13 CET 2007


Author: niko
Date: Thu Jan 11 15:08:13 2007
New Revision: 36484

Modified:
   pypy/dist/pypy/translator/jvm/src/PyPy.java
Log:
(antocuni,niko) small fix for test_bool; restore lost method

Modified: pypy/dist/pypy/translator/jvm/src/PyPy.java
==============================================================================
--- pypy/dist/pypy/translator/jvm/src/PyPy.java	(original)
+++ pypy/dist/pypy/translator/jvm/src/PyPy.java	Thu Jan 11 15:08:13 2007
@@ -262,6 +262,12 @@
     // ----------------------------------------------------------------------
     // StringBuffer
 
+    public static void ll_append_char(StringBuilder sb, byte c) {
+        // annoyingly, the actual return code is StringBuilder, so I have
+        // to make this wrapper to ignore the return value
+        sb.append((char)c);
+    }
+
     public static void ll_append_char(StringBuilder sb, char c) {
         // annoyingly, the actual return code is StringBuilder, so I have
         // to make this wrapper to ignore the return value



More information about the Pypy-commit mailing list