From: Jonathan Nieder Date: Thu, 16 Feb 2017 00:00:34 +0000 (-0800) Subject: Update name of InsecureCipherMode error-prone pattern X-Git-Tag: v4.7.0.201704051617-r~62^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fchanges%2F27%2F91227%2F1;p=jgit.git Update name of InsecureCipherMode error-prone pattern Without this, using bazel 0.4.4 to build fails: ERROR: jgit/org.eclipse.jgit/BUILD:29:1: Java compilation in rule '//org.eclipse.jgit:insecure_cipher_factory' failed: Worker process sent response with exit code: 1. jgit/src/org/eclipse/jgit/transport/InsecureCipherFactory.java:63: error: [InsecureCryptoUsage] Insecure usage of a crypto API: the transformation is not a compile-time constant expression. return Cipher.getInstance(algo); ^ (see http://errorprone.info/bugpattern/InsecureCryptoUsage) Change-Id: I7f9a3a5117e42cb68544674f5312df0368aa3674 --- diff --git a/org.eclipse.jgit/BUILD b/org.eclipse.jgit/BUILD index a9b01e9ea6..ed0fbf0650 100644 --- a/org.eclipse.jgit/BUILD +++ b/org.eclipse.jgit/BUILD @@ -29,5 +29,5 @@ java_library( java_library( name = "insecure_cipher_factory", srcs = INSECURE_CIPHER_FACTORY, - javacopts = ["-Xep:InsecureCipherMode:OFF"], + javacopts = ["-Xep:InsecureCryptoUsage:OFF"], )