From c54d3bbd6c2efe504dc34f7e621e404aa50795e6 Mon Sep 17 00:00:00 2001 From: Brendan Linn Date: Thu, 6 Aug 2020 16:39:14 -0700 Subject: [PATCH] //: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. --- java/util/BUILD | 4 ---- 1 file changed, 4 deletions(-) diff --git a/java/util/BUILD b/java/util/BUILD index cfdb28e2e177..71f73bab10dc 100644 --- a/java/util/BUILD +++ b/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",