Commit 736458d6 by Marcus G. Daniels Committed by Tom Tromey

jni.cc (add_char): Handle `.' like `/'.

2001-03-22  Marcus G. Daniels  <mgd@swarm.org>

	* jni.cc (add_char): Handle `.' like `/'.

From-SVN: r40748
parent a1c2b86d
2001-03-22 Marcus G. Daniels <mgd@swarm.org>
* jni.cc (add_char): Handle `.' like `/'.
2001-03-22 Bryce McKinlay <bryce@albatross.co.nz>
* java/lang/reflect/Method.java (getExceptionTypes): Call getType() to
......
......@@ -1612,7 +1612,10 @@ add_char (char *buf, jchar c, int *here)
buf[(*here)++] = '_';
buf[(*here)++] = '3';
}
else if (c == '/')
// Also check for `.' here because we might be passed an internal
// qualified class name like `foo.bar'.
else if (c == '/' || c == '.')
buf[(*here)++] = '_';
else if ((c >= '0' && c <= '9')
|| (c >= 'a' && c <= 'z')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment