浏览代码

//:protobuf_java_util: discontinue JDK 7 compatibility support.

6bbd56dfd9600adc9b084028d99a0aed880d7622 removed the -source 7 -target
7 javacopts from the //java:{core,lite} targets in order to improve
compatibility with more recent versions of javac. (see that commit for
more discussion of motivation.) but the commit left -source 7 -target
7 javacopts on the related //java/util target. i've confirmed with the
commit author that this was just an oversight, so remove these flags
as well.
Brendan Linn 5 年之前
父节点
当前提交
389bd06d0a
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      java/util/BUILD

+ 0 - 4
java/util/BUILD

@@ -5,10 +5,6 @@ java_library(
     srcs = glob([
         "src/main/java/com/google/protobuf/util/*.java",
     ]),
-    javacopts = [
-        "-source 7",
-        "-target 7",
-    ],
     visibility = ["//visibility:public"],
     deps = [
         "//external:error_prone_annotations",