bind/testdata: support JDK 8 for the reverse binding golden tests

The Character.Subset Java class changed between JDK 8 and JDK 11
which is the default JDK on my system. To avoid the golden tests
depend on the JDK version, drop the reference to the Character.Subset
class.
The inner class case is covered by the bind/java runtime tests.

For the upcoming Android container builders.

Change-Id: I05897ff7de7970633176207305099153de2f208c
Reviewed-on: https://go-review.googlesource.com/c/163377
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
This commit is contained in:
Elias Naur
2019-02-22 13:51:28 +00:00
parent a421117049
commit 8b05ea26b5
5 changed files with 1 additions and 319 deletions
-7
View File
@@ -49,8 +49,6 @@ typedef struct ret_nbyteslice {
extern ret_nstring cproxy_java_lang_Float_toString(jint this);
extern ret_nstring cproxy_java_lang_Long_toString(jint this);
extern ret_nstring cproxy_java_lang_Object_toString(jint this);
extern ret_nstring cproxy_java_lang_Character_toString(jint this);
extern ret_nstring cproxy_java_lang_Character_Subset_toString(jint this);
// JNI function headers for the Go <=> Java bridge.
// gobind -lang=java java
//
@@ -79,9 +77,4 @@ nstring cproxyjava_O_ToString(int32_t refnum);
extern jclass proxy_class_java_R;
extern jmethodID proxy_class_java_R_cons;
extern jclass proxy_class_java_S;
extern jmethodID proxy_class_java_S_cons;
nstring cproxyjava_S_ToString(int32_t refnum);
#endif