28e1f4d9ee
8257204: Remove usage of -Xhtmlversion option from javac 8256313: JavaCompilation.gmk needs to be updated not to use --doclint-format html5 option 8258460: Remove --doclint-format option from javac 8256312: Valid anchor 'id' value not allowed Reviewed-by: jjg, ihse
35 lines
728 B
Java
35 lines
728 B
Java
/*
|
|
* @test /nodynamiccopyright/
|
|
* @bug 8004832 8258916 8247957
|
|
* @summary Add new doclint package
|
|
* @modules jdk.javadoc/jdk.javadoc.internal.doclint
|
|
* @build DocLintTester
|
|
* @run main DocLintTester -Xmsgs:-html HtmlAttrsTest.java
|
|
* @run main DocLintTester -ref HtmlAttrsTest.out HtmlAttrsTest.java
|
|
*/
|
|
|
|
/** */
|
|
public class HtmlAttrsTest {
|
|
/**
|
|
* <p xyz> text </p>
|
|
*/
|
|
public void unknown() { }
|
|
|
|
/**
|
|
* <img name="x" alt="alt">
|
|
*/
|
|
public void obsolete() { }
|
|
|
|
/**
|
|
* <font size="3"> text </font>
|
|
*/
|
|
public void obsolete_use_css() { }
|
|
|
|
/**
|
|
* multi-line mailto <a
|
|
* href="mailto:nobody@example.com">nobody</a>
|
|
*/
|
|
public void multiline_mailto() { }
|
|
}
|
|
|