langtools/test/tools/doclint/packageTests/good/Test.java
author jjg
Tue, 23 Jul 2013 16:06:11 -0700
changeset 19123 50733e28eaca
parent 19121 c626ed0c6ab0
child 30730 d3ce7619db2c
permissions -rw-r--r--
8021215: javac gives incorrect doclint warnings on normal package statements Reviewed-by: darcy
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
19121
c626ed0c6ab0 8020664: doclint gives incorrect warnings on normal package statements
jjg
parents:
diff changeset
     1
/*
c626ed0c6ab0 8020664: doclint gives incorrect warnings on normal package statements
jjg
parents:
diff changeset
     2
 * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
c626ed0c6ab0 8020664: doclint gives incorrect warnings on normal package statements
jjg
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
c626ed0c6ab0 8020664: doclint gives incorrect warnings on normal package statements
jjg
parents:
diff changeset
     4
 *
c626ed0c6ab0 8020664: doclint gives incorrect warnings on normal package statements
jjg
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
c626ed0c6ab0 8020664: doclint gives incorrect warnings on normal package statements
jjg
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
c626ed0c6ab0 8020664: doclint gives incorrect warnings on normal package statements
jjg
parents:
diff changeset
     7
 * published by the Free Software Foundation.
c626ed0c6ab0 8020664: doclint gives incorrect warnings on normal package statements
jjg
parents:
diff changeset
     8
 *
c626ed0c6ab0 8020664: doclint gives incorrect warnings on normal package statements
jjg
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
c626ed0c6ab0 8020664: doclint gives incorrect warnings on normal package statements
jjg
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
c626ed0c6ab0 8020664: doclint gives incorrect warnings on normal package statements
jjg
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
c626ed0c6ab0 8020664: doclint gives incorrect warnings on normal package statements
jjg
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
c626ed0c6ab0 8020664: doclint gives incorrect warnings on normal package statements
jjg
parents:
diff changeset
    13
 * accompanied this code).
c626ed0c6ab0 8020664: doclint gives incorrect warnings on normal package statements
jjg
parents:
diff changeset
    14
 *
c626ed0c6ab0 8020664: doclint gives incorrect warnings on normal package statements
jjg
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
c626ed0c6ab0 8020664: doclint gives incorrect warnings on normal package statements
jjg
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
c626ed0c6ab0 8020664: doclint gives incorrect warnings on normal package statements
jjg
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
c626ed0c6ab0 8020664: doclint gives incorrect warnings on normal package statements
jjg
parents:
diff changeset
    18
 *
c626ed0c6ab0 8020664: doclint gives incorrect warnings on normal package statements
jjg
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
c626ed0c6ab0 8020664: doclint gives incorrect warnings on normal package statements
jjg
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
c626ed0c6ab0 8020664: doclint gives incorrect warnings on normal package statements
jjg
parents:
diff changeset
    21
 * questions.
c626ed0c6ab0 8020664: doclint gives incorrect warnings on normal package statements
jjg
parents:
diff changeset
    22
 */
c626ed0c6ab0 8020664: doclint gives incorrect warnings on normal package statements
jjg
parents:
diff changeset
    23
c626ed0c6ab0 8020664: doclint gives incorrect warnings on normal package statements
jjg
parents:
diff changeset
    24
/*
c626ed0c6ab0 8020664: doclint gives incorrect warnings on normal package statements
jjg
parents:
diff changeset
    25
 * @test /nodynamiccopyright/
19123
50733e28eaca 8021215: javac gives incorrect doclint warnings on normal package statements
jjg
parents: 19121
diff changeset
    26
 * @bug 8020664 8021215
19121
c626ed0c6ab0 8020664: doclint gives incorrect warnings on normal package statements
jjg
parents:
diff changeset
    27
 * @summary doclint gives incorrect warnings on normal package statements
c626ed0c6ab0 8020664: doclint gives incorrect warnings on normal package statements
jjg
parents:
diff changeset
    28
 * @library ../..
c626ed0c6ab0 8020664: doclint gives incorrect warnings on normal package statements
jjg
parents:
diff changeset
    29
 * @build DocLintTester
c626ed0c6ab0 8020664: doclint gives incorrect warnings on normal package statements
jjg
parents:
diff changeset
    30
 * @run main DocLintTester Test.java
19123
50733e28eaca 8021215: javac gives incorrect doclint warnings on normal package statements
jjg
parents: 19121
diff changeset
    31
 * @compile -Xdoclint:all Test.java
19121
c626ed0c6ab0 8020664: doclint gives incorrect warnings on normal package statements
jjg
parents:
diff changeset
    32
 */
c626ed0c6ab0 8020664: doclint gives incorrect warnings on normal package statements
jjg
parents:
diff changeset
    33
c626ed0c6ab0 8020664: doclint gives incorrect warnings on normal package statements
jjg
parents:
diff changeset
    34
// no doc comment
c626ed0c6ab0 8020664: doclint gives incorrect warnings on normal package statements
jjg
parents:
diff changeset
    35
package good;
c626ed0c6ab0 8020664: doclint gives incorrect warnings on normal package statements
jjg
parents:
diff changeset
    36
19123
50733e28eaca 8021215: javac gives incorrect doclint warnings on normal package statements
jjg
parents: 19121
diff changeset
    37
/** */
19121
c626ed0c6ab0 8020664: doclint gives incorrect warnings on normal package statements
jjg
parents:
diff changeset
    38
class Test { }
c626ed0c6ab0 8020664: doclint gives incorrect warnings on normal package statements
jjg
parents:
diff changeset
    39