diff -r 398f0f51917a -r d3ce7619db2c langtools/test/tools/javac/processing/werror/WErrorGen.java --- a/langtools/test/tools/javac/processing/werror/WErrorGen.java Mon May 18 14:48:41 2015 +0200 +++ b/langtools/test/tools/javac/processing/werror/WErrorGen.java Thu May 21 11:41:04 2015 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 2015, 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 @@ -25,6 +25,8 @@ * @test 6403456 * @summary -Werror should work with annotation processing * @library /tools/javac/lib + * @modules java.compiler + * jdk.compiler * @build JavacTestingAbstractProcessor * @compile WErrorGen.java * @compile -proc:only -processor WErrorGen WErrorGen.java