From 0bb83c60508c0021a3c6bcb21ff35b8fa061bf25 Mon Sep 17 00:00:00 2001 From: Stephan Schroevers Date: Sat, 31 Dec 2022 14:12:40 +0100 Subject: [PATCH 1/2] Upgrade Error Prone 2.16 -> 2.17.0 See: - https://github.com/google/error-prone/releases/tag/v2.17.0 - https://github.com/google/error-prone/compare/v2.16...v2.17.0 - https://github.com/PicnicSupermarket/error-prone/compare/v2.16-picnic-2...v2.17.0-picnic-1 --- .github/workflows/build.yaml | 9 ++++----- pom.xml | 8 ++++++-- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 738e11dfbc..188450955e 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -22,11 +22,10 @@ jobs: jdk: 17.0.4 distribution: temurin experimental: false - # XXX: Re-enable this build after upgrading to Error Prone 2.17. - #- os: ubuntu-22.04 - # jdk: 20-ea - # distribution: zulu - # experimental: true + - os: ubuntu-22.04 + jdk: 20-ea + distribution: zulu + experimental: true runs-on: ${{ matrix.os }} continue-on-error: ${{ matrix.experimental }} steps: diff --git a/pom.xml b/pom.xml index efe30dcee7..d4580d474b 100644 --- a/pom.xml +++ b/pom.xml @@ -148,8 +148,8 @@ 1.0.1 1.10.1 ${version.error-prone-orig} - v${version.error-prone-orig}-picnic-2 - 2.16 + v${version.error-prone-orig}-picnic-1 + 2.17.0 0.1.17 1.0 11 @@ -1590,6 +1590,10 @@ -XepOpt:NullAway:AssertsEnabled=true -XepOpt:NullAway:CheckOptionalEmptiness=true -XepOpt:Nullness:Conservative=false + ${error-prone.patch-args} ${error-prone.self-check-args} From 734ad9b667bbe6fd1f6c6c0b6964afc5af4a161c Mon Sep 17 00:00:00 2001 From: Stephan Schroevers Date: Sat, 31 Dec 2022 18:52:05 +0100 Subject: [PATCH 2/2] Source not target --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index d4580d474b..f1c5cea48f 100644 --- a/pom.xml +++ b/pom.xml @@ -1591,7 +1591,7 @@ -XepOpt:NullAway:CheckOptionalEmptiness=true -XepOpt:Nullness:Conservative=false