equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2010, 2011, 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. |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @bug 6988836 |
26 * @bug 6988836 |
27 * @summary A new JavacElements is created for each round of annotation processing |
27 * @summary A new JavacElements is created for each round of annotation processing |
28 * @library /tools/javac/lib |
28 * @library /tools/javac/lib |
|
29 * @modules jdk.compiler/com.sun.tools.javac.api |
|
30 * jdk.compiler/com.sun.tools.javac.model |
|
31 * jdk.compiler/com.sun.tools.javac.processing |
|
32 * jdk.compiler/com.sun.tools.javac.util |
29 * @build JavacTestingAbstractProcessor TestContext |
33 * @build JavacTestingAbstractProcessor TestContext |
30 * @compile/process -processor TestContext -XprintRounds TestContext |
34 * @compile/process -processor TestContext -XprintRounds TestContext |
31 */ |
35 */ |
32 |
36 |
33 import java.io.*; |
37 import java.io.*; |