langtools/test/tools/javac/processing/environment/ProcessingEnvAnnoDiscovery.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2014, 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. |
25 * @test |
25 * @test |
26 * @bug 8038080 |
26 * @bug 8038080 |
27 * @summary make sure that all declaration annotations are discovered |
27 * @summary make sure that all declaration annotations are discovered |
28 * by the processing environment |
28 * by the processing environment |
29 * @library /tools/javac/lib |
29 * @library /tools/javac/lib |
|
30 * @modules jdk.compiler/com.sun.tools.javac.util |
30 * @build JavacTestingAbstractProcessor ProcessingEnvAnnoDiscovery |
31 * @build JavacTestingAbstractProcessor ProcessingEnvAnnoDiscovery |
31 * @compile/process -processor ProcessingEnvAnnoDiscovery ProcessingEnvAnnoDiscovery.java |
32 * @compile/process -processor ProcessingEnvAnnoDiscovery ProcessingEnvAnnoDiscovery.java |
32 */ |
33 */ |
33 |
34 |
34 import java.lang.annotation.*; |
35 import java.lang.annotation.*; |