Update `--should-stop=ifError=FLOW` flags

This is equivalent to `-XDshould-stop.ifError=FLOW`, but the `-XD` flag is a
internal javac debug flag interface that writes directly to the options table.
The `--should-stop` flags are slightly more standard.

PiperOrigin-RevId: 686508919
Change-Id: If71a8508b14b5c4628cdcabb255f638df32ac230
diff --git a/toolchains/default_java_toolchain.bzl b/toolchains/default_java_toolchain.bzl
index 9efc2f3..a6d200b 100644
--- a/toolchains/default_java_toolchain.bzl
+++ b/toolchains/default_java_toolchain.bzl
@@ -56,7 +56,7 @@
 DEFAULT_JAVACOPTS = [
     "-XDskipDuplicateBridges=true",
     "-XDcompilePolicy=simple",
-    "-XDshould-stop.ifError=FLOW",  # See b/27049950, https://github.com/google/error-prone/issues/4595
+    "--should-stop=ifError=FLOW",  # See b/27049950, https://github.com/google/error-prone/issues/4595
     "-g",
     "-parameters",
     # https://github.com/bazelbuild/bazel/issues/15219