ParaTagTest.java revision 2933:49d207bf704d
1139743Simp/*
214331Speter * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
314331Speter * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
414331Speter *
514331Speter * This code is free software; you can redistribute it and/or modify it
614331Speter * under the terms of the GNU General Public License version 2 only, as
714331Speter * published by the Free Software Foundation.
814331Speter *
914331Speter * This code is distributed in the hope that it will be useful, but WITHOUT
1014331Speter * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
1114331Speter * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
1214331Speter * version 2 for more details (a copy is included in the LICENSE file that
1314331Speter * accompanied this code).
1414331Speter *
1514331Speter * You should have received a copy of the GNU General Public License version
1614331Speter * 2 along with this work; if not, write to the Free Software Foundation,
1714331Speter * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
1814331Speter *
1914331Speter * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2014331Speter * or visit www.oracle.com if you need additional information or have any
2114331Speter * questions.
2214331Speter */
2314331Speter
2414331Speter/*
2514331Speter * @test
2614331Speter * @bug 8007566
2714331Speter * @summary DocLint too aggressive with not allowed here: <p>
2814331Speter * @modules jdk.compiler/com.sun.tools.doclint
2914331Speter * @build DocLintTester
3014331Speter * @run main DocLintTester -Xmsgs ParaTagTest.java
3114331Speter */
32116173Sobrien
33116173Sobrien/**
34116173Sobrien * First line.
35161310Snetchild * <p> Para c1.</p>
36235063Snetchild * <p> Para c2.
37161310Snetchild * <p> Para c3.</p>
3814331Speter */
39158311Sambriskopublic class ParaTagTest {
40177785Skib    /**
41130959Sbde     * m1 <code>code </code>.
42130959Sbde     * <p> Para m1.
43235063Snetchild     * <p> Para m2.
44158311Sambrisko     */
45130959Sbde    public void m() {}
4614331Speter
4714331Speter    /**
48235063Snetchild     * m2.
49141472Sjhb     * <p> Para z1.
50130959Sbde     * <p> Para z2.
5114331Speter     * <pre>
5214331Speter     *    Preformat 1.
53108541Salfred     * </pre>
54108541Salfred     */
5564913Smarcel    public void z() {}
5614331Speter}
57293527Sdchagin