langtools/test/tools/javac/annotations/neg/8022765/VerifyErroneousAnnotationsAttributed.java
changeset 39601 5b37e511ae4b
parent 30730 d3ce7619db2c
child 40835 6ab9ed1abc46
--- a/langtools/test/tools/javac/annotations/neg/8022765/VerifyErroneousAnnotationsAttributed.java	Mon Jul 11 18:13:42 2016 +0530
+++ b/langtools/test/tools/javac/annotations/neg/8022765/VerifyErroneousAnnotationsAttributed.java	Mon Jul 11 15:27:52 2016 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -237,7 +237,7 @@
         JavacTask task = tool.getTask(null,
                                       fm,
                                       devNull,
-                                      Arrays.asList("-XDshouldStopPolicy=FLOW"),
+                                      Arrays.asList("-Xshouldstop:at=FLOW"),
                                       null,
                                       Arrays.asList(new MyFileObject(code)));