diff --git a/integration-tests/checkstyle-init.patch b/integration-tests/checkstyle-init.patch index 27c4fc18b3..083e124f66 100644 --- a/integration-tests/checkstyle-init.patch +++ b/integration-tests/checkstyle-init.patch @@ -13,7 +13,12 @@ nl.jqno.equalsverifier equalsverifier -@@ -2420,6 +2426,8 @@ +@@ -2417,9 +2423,13 @@ + + -Xpkginfo:always + -XDcompilePolicy=simple ++ ++ --should-stop=ifError=FLOW -Xplugin:ErrorProne ${error-prone.configuration-args} @@ -22,7 +27,7 @@ -@@ -2432,6 +2440,11 @@ +@@ -2432,6 +2442,11 @@ error-prone-contrib ${error-prone-support.version} @@ -34,8 +39,12 @@ -@@ -2474,9 +2487,10 @@ +@@ -2472,11 +2487,14 @@ + + -Xpkginfo:always -XDcompilePolicy=simple ++ ++ --should-stop=ifError=FLOW -Xplugin:ErrorProne \ - -XepExcludedPaths:.*[\\/]resources[\\/].* \ @@ -46,7 +55,7 @@ -@@ -2489,6 +2503,11 @@ +@@ -2489,6 +2507,11 @@ error-prone-contrib ${error-prone-support.version} diff --git a/integration-tests/metrics-init.patch b/integration-tests/metrics-init.patch index 5254829a29..9f1c97f9c9 100644 --- a/integration-tests/metrics-init.patch +++ b/integration-tests/metrics-init.patch @@ -52,16 +52,18 @@ jdk8 -@@ -218,7 +239,7 @@ +@@ -218,7 +239,9 @@ -Xlint:all -XDcompilePolicy=simple - -Xplugin:ErrorProne -XepExcludedPaths:.*/target/generated-sources/.* ++ ++ --should-stop=ifError=FLOW + -Xplugin:ErrorProne ${error-prone.configuration-args} -J--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED -J--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED -J--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED -@@ -229,12 +250,24 @@ +@@ -229,12 +252,24 @@ -J--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED -J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED -J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED @@ -87,7 +89,7 @@ -@@ -364,7 +397,7 @@ +@@ -364,7 +399,7 @@ org.apache.maven.plugins maven-compiler-plugin