diff --git a/pom.xml b/pom.xml index 57b05e8f1d..230c8a5036 100644 --- a/pom.xml +++ b/pom.xml @@ -211,7 +211,7 @@ 1.11.0 ${version.error-prone-orig} v${version.error-prone-orig}-picnic-1 - 2.35.1 + 2.36.0 0.1.28 1.0 17 @@ -1962,12 +1962,6 @@ -Xep:BetaApi:OFF - - -Xep:IdentifierName:OFF -Xep:Java7ApiChecker:OFF @@ -1983,6 +1977,9 @@ + + -XepOpt:IdentifierName:AllowInitialismsInTypeName=true -XepOpt:InlineMe:SkipInliningsWithComments=false -XepOpt:NullAway:AnnotatedPackages=tech.picnic -XepOpt:NullAway:AssertsEnabled=true @@ -1997,11 +1994,18 @@ -XDcompilePolicy=simple + + --should-stop=ifError=FLOW diff --git a/website/_data/compatibility.yml b/website/_data/compatibility.yml index 9a24428029..bf6a4efe0b 100644 --- a/website/_data/compatibility.yml +++ b/website/_data/compatibility.yml @@ -3,6 +3,7 @@ releases: - version: 0.19.1 compatible: + - "2.36.0" - "2.35.1" - "2.35.0" - "2.34.0" @@ -12,6 +13,7 @@ releases: - "2.30.0" - version: 0.19.0 compatible: + - "2.36.0" - "2.35.1" - "2.35.0" - "2.34.0" @@ -21,6 +23,7 @@ releases: - "2.30.0" - version: 0.18.0 compatible: + - "2.36.0" - "2.35.1" - "2.35.0" - "2.34.0" diff --git a/website/generate-version-compatibility-overview.sh b/website/generate-version-compatibility-overview.sh index 7513a035d8..c0716db6f5 100755 --- a/website/generate-version-compatibility-overview.sh +++ b/website/generate-version-compatibility-overview.sh @@ -45,6 +45,13 @@ for eps_version in ${eps_versions}; do (set +u && echo n | sdk install maven "${mvn_version}") sdk use maven "${mvn_version}" + # As of version 2.36.0, Error Prone requires that the + # `--should-stop=ifError=FLOW` flag is provided. Make sure that this flag is + # always specified. (The `-XDcompilePolicy=simple` flag has been specified + # since the first Error Prone Support release. It's okay if the added flag is + # present more than once; the last variant listed wins.) + sed -i 's,-XDcompilePolicy=simple,-XDcompilePolicy=simple--should-stop=ifError=FLOW,' pom.xml + # Collect the list of checks supported by this version of Error Prone # Support. # XXX: Conditionally omit the `MethodReferenceUsage` exclusion once that