bind: sanitize parameter names

Package names, type names and method names are already sanitized.
Extend that to parameter names as well.

Change-Id: I408024c5e2f9561c37e8059a2b53199ee1afaef6
Reviewed-on: https://go-review.googlesource.com/31519
Reviewed-by: David Crawshaw <crawshaw@golang.org>
This commit is contained in:
Elias Naur
2016-10-21 09:25:03 +00:00
parent 7f64fd241f
commit e107ad8ed2
9 changed files with 48 additions and 4 deletions
+2 -2
View File
@@ -240,8 +240,8 @@ Java_go_java_Runnable__1_1New(JNIEnv *env, jclass clazz) {
JNIEXPORT void JNICALL
Java_go_java_Runnable_run(JNIEnv* env, jobject __this__) {
int32_t o = go_seq_to_refnum_go(env, __this__);
int32_t _this = go_seq_to_refnum(env, __this__);
proxyjava_Runnable_Run(o, _this);
int32_t _this_ = go_seq_to_refnum(env, __this__);
proxyjava_Runnable_Run(o, _this_);
}
JNIEXPORT void JNICALL