langtools/test/tools/javac/processing/model/util/elements/doccomments/TestPackageInfoComments.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. |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @bug 8042345 |
26 * @bug 8042345 |
27 * @summary getDocComment() fails for doc comments on PackageElement found in package-info.java |
27 * @summary getDocComment() fails for doc comments on PackageElement found in package-info.java |
28 * @library /tools/javac/lib |
28 * @library /tools/javac/lib |
|
29 * @modules jdk.compiler |
29 * @build JavacTestingAbstractProcessor TestPackageInfoComments |
30 * @build JavacTestingAbstractProcessor TestPackageInfoComments |
30 * @run main TestPackageInfoComments |
31 * @run main TestPackageInfoComments |
31 */ |
32 */ |
32 import com.sun.source.util.JavacTask; |
33 import com.sun.source.util.JavacTask; |
33 |
34 |