mirror of
https://github.com/netbirdio/gomobile-tvos-fork.git
synced 2026-05-22 18:43:29 -07:00
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:
Vendored
-7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user