test/langtools/tools/doclint/HtmlAttrsTest.java
changeset 47216 71c04702a3d5
parent 30730 d3ce7619db2c
equal deleted inserted replaced
47215:4ebc2e2fb97c 47216:71c04702a3d5
       
     1 /*
       
     2  * @test /nodynamiccopyright/
       
     3  * @bug 8004832
       
     4  * @summary Add new doclint package
       
     5  * @modules jdk.compiler/com.sun.tools.doclint
       
     6  * @build DocLintTester
       
     7  * @run main DocLintTester -Xmsgs:-html HtmlAttrsTest.java
       
     8  * @run main DocLintTester -ref HtmlAttrsTest.out HtmlAttrsTest.java
       
     9  */
       
    10 
       
    11 /** */
       
    12 public class HtmlAttrsTest {
       
    13     /**
       
    14      * <p xyz> text </p>
       
    15      */
       
    16     public void unknown() { }
       
    17 
       
    18     /**
       
    19      * <img name="x" alt="alt">
       
    20      */
       
    21     public void obsolete() { }
       
    22 
       
    23     /**
       
    24      * <font size="3"> text </font>
       
    25      */
       
    26     public void obsolete_use_css() { }
       
    27 }
       
    28