From 6f21e29268daa19f306857caf51da7192b5ce27b Mon Sep 17 00:00:00 2001 From: cgrushko Date: Wed, 22 Mar 2017 14:27:51 -0400 Subject: [PATCH] Compile the Java proto runtime with Java 6 in order to avoid errors related to generics when building user code in newer versions of Java. --- BUILD | 1 + 1 file changed, 1 insertion(+) diff --git a/BUILD b/BUILD index 56f9ea38f..d08b7a09e 100644 --- a/BUILD +++ b/BUILD @@ -570,6 +570,7 @@ java_library( ]) + [ ":gen_well_known_protos_java", ], + javacopts = ["-source 6"], visibility = ["//visibility:public"], )