test/tools/doclint/tidy/InvalidTag.java

Thu, 24 Oct 2013 11:22:50 -0700

author
bpatel
date
Thu, 24 Oct 2013 11:22:50 -0700
changeset 2169
667843bd2193
parent 1465
a22f23fb7abf
child 2525
2eb010b6cb22
permissions
-rw-r--r--

8006248: Since addition of -Xdoclint, javadoc ignores unknown tags
Reviewed-by: jjg

     1 /*
     2  * @test /nodynamiccopyright/
     3  * @bug 8004832
     4  * @summary Add new doclint package
     5  * @library ..
     6  * @build DocLintTester
     7  * @run main DocLintTester -ref InvalidTag.out InvalidTag.java
     8  */
    10 // tidy: Error: <.*> is not recognized!
    12 /**
    13  * List<String> list = new ArrayList<>();
    14  */
    15 public class InvalidTag { }

mercurial