Index: trunk/.github/workflows/ant.yml
===================================================================
--- trunk/.github/workflows/ant.yml	(revision 17493)
+++ trunk/.github/workflows/ant.yml	(revision 17539)
@@ -69,5 +69,5 @@
       matrix:
         # test against latest update of each major Java version, as well as specific updates of LTS versions:
-        java: [8, 11, 15, 16-ea]
+        java: [8, 11, 15, 16-ea, 17-ea]
         os: [ubuntu-latest, macos-latest, windows-latest]
         headless: ["true", "false"]
@@ -124,6 +124,4 @@
       - name: Build with Ant
         # Calls ant with -Dreleasebuild=true if we're a 'tested' build
-        # Disables errorprone for Java 16
-        # See https://github.com/google/error-prone/issues/1872
         run: |
           if [ "${{ needs.createrelease.outputs.josm_prerelease }}" == "true" ]; then
@@ -132,9 +130,5 @@
             ANT="${{ env.ANT_HOME }}/bin/ant -Dreleasebuild=true"
           fi
-          if [[ "x${{ matrix.java }}x" =~ x1[6-9](-ea)?x ]]; then
-            $ANT -DnoErrorProne dist
-          else
-            $ANT dist
-          fi
+          $ANT dist
       - name: Upload jar
         # Only run on matrix.headless to avoid double jars. They should be the same jars.
