This is the mail archive of the
java-patches@sourceware.cygnus.com
mailing list for the Java project.
Patch: bug fix in JNI name mangling
- To: Java Patch List <java-patches at sourceware dot cygnus dot com>
- Subject: Patch: bug fix in JNI name mangling
- From: Tom Tromey <tromey at cygnus dot com>
- Date: 15 Feb 2000 15:41:28 -0700
- Reply-To: tromey at cygnus dot com
I'm checking in the appended patch.
It fixes a simple bug in the JNI name mangling code.
2000-02-15 Tom Tromey <tromey@cygnus.com>
* jni.cc (add_char): Added missing `else'.
Tom
Index: jni.cc
===================================================================
RCS file: /cvs/java/libgcj/libjava/jni.cc,v
retrieving revision 1.14
diff -u -r1.14 jni.cc
--- jni.cc 2000/02/15 20:39:36 1.14
+++ jni.cc 2000/02/15 22:36:55
@@ -1251,7 +1251,7 @@
}
else if (c == '/')
buf[(*here)++] = '_';
- if ((c >= '0' && c <= '9')
+ else if ((c >= '0' && c <= '9')
|| (c >= 'a' && c <= 'z')
|| (c >= 'A' && c <= 'Z'))
buf[(*here)++] = (char) c;