Merge "java link time error improve"

This commit is contained in:
Treehugger Robot
2020-11-19 18:38:16 +00:00
committed by Gerrit Code Review
3 changed files with 7 additions and 5 deletions

View File

@@ -202,7 +202,7 @@ func TestJavaLinkType(t *testing.T) {
}
`)
testJavaError(t, "Adjust sdk_version: property of the source or target module so that target module is built with the same or smaller API set than the source.", `
testJavaError(t, "consider adjusting sdk_version: OR platform_apis:", `
java_library {
name: "foo",
srcs: ["a.java"],
@@ -246,7 +246,7 @@ func TestJavaLinkType(t *testing.T) {
}
`)
testJavaError(t, "Adjust sdk_version: property of the source or target module so that target module is built with the same or smaller API set than the source.", `
testJavaError(t, "consider adjusting sdk_version: OR platform_apis:", `
java_library {
name: "foo",
srcs: ["a.java"],