summaryrefslogtreecommitdiff
path: root/libjava/jni.cc
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2007-03-05 17:27:44 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2007-03-05 17:27:44 +0000
commitf4ecf2ee6fe566d3e95ba1b10e1ccfd9f44708d2 (patch)
tree7094a7844e13e49f92832894c3b7a7f8ff638d8b /libjava/jni.cc
parent3cd26864a46e4177ca2288137cf1a48f164ba68a (diff)
downloadgcc-f4ecf2ee6fe566d3e95ba1b10e1ccfd9f44708d2.tar.gz
2007-03-05 Mark Wielaard <mark@klomp.org>
* java/lang/Character.java: Re-merged with Classpath. * java/lang/natString.cc (nativeCompareTo): Renamed from compareTo. * java/lang/StringBuilder.java: Re-merged with Classpath. * java/lang/String.java: Re-merged with Classpath. (nativeCompareTo): Renamed from compareTo. * java/lang/StringBuffer.java: Re-merged with Classpath. * jni.cc (_Jv_JNI_GetAnyMethodID): Split calls to append. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122560 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/jni.cc')
-rw-r--r--libjava/jni.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/libjava/jni.cc b/libjava/jni.cc
index d71b16d99ea..9e33be6e69f 100644
--- a/libjava/jni.cc
+++ b/libjava/jni.cc
@@ -751,7 +751,8 @@ _Jv_JNI_GetAnyMethodID (JNIEnv *env, jclass clazz,
java::lang::StringBuffer *name_sig =
new java::lang::StringBuffer (JvNewStringUTF (name));
- name_sig->append ((jchar) ' ')->append (JvNewStringUTF (s));
+ name_sig->append ((jchar) ' ');
+ name_sig->append (JvNewStringUTF (s));
env->ex = new java::lang::NoSuchMethodError (name_sig->toString ());
}
catch (jthrowable t)