浏览代码

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 年之前
父节点
当前提交
6f21e29268
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      BUILD

+ 1 - 0
BUILD

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