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
-25
@@ -49,19 +49,6 @@ public interface R {
|
||||
|
||||
}
|
||||
|
||||
// Java class java.S is a proxy for talking to a Go program.
|
||||
// gobind -lang=java java
|
||||
//
|
||||
// File is generated by gobind. Do not edit.
|
||||
package java;
|
||||
|
||||
import go.Seq;
|
||||
|
||||
public interface S extends R {
|
||||
public String toString();
|
||||
|
||||
}
|
||||
|
||||
// Java class java.Java is a proxy for talking to a Go program.
|
||||
// gobind -lang=java java
|
||||
//
|
||||
@@ -130,18 +117,6 @@ public abstract class Java {
|
||||
proxyR(int refnum) { this.refnum = refnum; Seq.trackGoRef(refnum, this); }
|
||||
|
||||
}
|
||||
private static final class proxyS implements Seq.Proxy, S {
|
||||
private final int refnum;
|
||||
|
||||
@Override public final int incRefnum() {
|
||||
Seq.incGoRef(refnum, this);
|
||||
return refnum;
|
||||
}
|
||||
|
||||
proxyS(int refnum) { this.refnum = refnum; Seq.trackGoRef(refnum, this); }
|
||||
|
||||
public native String toString();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user