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
-25
View File
@@ -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();
}
}