diff -r 83ea7c12c164 -r 5b37e511ae4b langtools/test/tools/javac/annotations/neg/8022765/VerifyErroneousAnnotationsAttributed.java --- 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)));