langtools/test/tools/javac/processing/werror/WErrorGen.java
changeset 30730 d3ce7619db2c
parent 14963 974d4423c999
equal deleted inserted replaced
30729:398f0f51917a 30730:d3ce7619db2c
     1 /*
     1 /*
     2  * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    23 
    23 
    24 /*
    24 /*
    25  * @test 6403456
    25  * @test 6403456
    26  * @summary -Werror should work with annotation processing
    26  * @summary -Werror should work with annotation processing
    27  * @library /tools/javac/lib
    27  * @library /tools/javac/lib
       
    28  * @modules java.compiler
       
    29  *          jdk.compiler
    28  * @build   JavacTestingAbstractProcessor
    30  * @build   JavacTestingAbstractProcessor
    29  * @compile WErrorGen.java
    31  * @compile WErrorGen.java
    30  * @compile -proc:only -processor WErrorGen WErrorGen.java
    32  * @compile -proc:only -processor WErrorGen WErrorGen.java
    31  * @compile/fail/ref=WErrorGen.out -XDrawDiagnostics -Werror -Xlint:rawtypes -processor WErrorGen WErrorGen.java
    33  * @compile/fail/ref=WErrorGen.out -XDrawDiagnostics -Werror -Xlint:rawtypes -processor WErrorGen WErrorGen.java
    32  */
    34  */