langtools/test/tools/javac/failover/CheckAttributedTree.java
changeset 40835 6ab9ed1abc46
parent 39601 5b37e511ae4b
--- a/langtools/test/tools/javac/failover/CheckAttributedTree.java	Wed Jul 05 22:10:57 2017 +0200
+++ b/langtools/test/tools/javac/failover/CheckAttributedTree.java	Tue Sep 06 17:04:43 2016 -0700
@@ -311,7 +311,7 @@
                 final List<CompilationUnitTree> trees = new ArrayList<>();
                 Iterable<? extends Element> elems = newCompilationTask()
                     .withWriter(pw)
-                        .withOption("-Xshouldstop:at=ATTR")
+                        .withOption("--should-stop:at=ATTR")
                         .withOption("-XDverboseCompilePolicy")
                         .withSource(files.iterator().next())
                         .withListener(new TaskListener() {