diff --git a/tensorflow/java/build_defs.bzl b/tensorflow/java/build_defs.bzl index 04139bac065..85256700fae 100644 --- a/tensorflow/java/build_defs.bzl +++ b/tensorflow/java/build_defs.bzl @@ -5,6 +5,7 @@ JAVA_VERSION_OPTS = [ "-source 7 -target 7", + "-XDnoparameters", ] # A more robust set of lint and errorprone checks when building