Skip to content

Commit

Permalink
Remove references to -XDshouldStopPolicyIfError now that `--should-…
Browse files Browse the repository at this point in the history
…stop=ifError=FLOW` is the default

As pointed out in #4618 (comment)

PiperOrigin-RevId: 686640507
  • Loading branch information
cushon authored and Error Prone Team committed Oct 17, 2024
1 parent 40bb976 commit c3a80b1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -581,9 +581,6 @@ public void compilationWithError() {
compiler = compilerBuilder.build();
Result exitCode =
compiler.compile(
new String[] {
"-XDshouldStopPolicyIfError=LOWER",
},
Arrays.asList(
forSourceLines(
"Test.java",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

import com.google.errorprone.CompilationTestHelper;
import com.google.errorprone.annotations.Var;
import java.util.Arrays;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
Expand Down Expand Up @@ -348,8 +347,6 @@ class B {
}
}
""")
// hackily force processing of both compilation units so we can verify both diagnostics
.setArgs(Arrays.asList("-XDshouldStopPolicyIfError=FLOW"))
.doTest();
}

Expand Down

0 comments on commit c3a80b1

Please sign in to comment.