Browse Source

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.
cgrushko 8 years ago
parent
commit
6f21e29268
1 changed files with 1 additions and 0 deletions
  1. 1 0
      BUILD

+ 1 - 0
BUILD

@@ -570,6 +570,7 @@ java_library(
     ]) + [
         ":gen_well_known_protos_java",
     ],
+    javacopts = ["-source 6"],
     visibility = ["//visibility:public"],
 )