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
22 lines
674 B
Java
22 lines
674 B
Java
/*
|
|
* @test /nodynamiccopyright/
|
|
* @bug 8020313 8247957
|
|
* @summary doclint doesn't reset HTML anchors correctly
|
|
* @modules jdk.javadoc/jdk.javadoc.internal.doclint
|
|
* @build DocLintTester
|
|
* @run main DocLintTester -ref AnchorTest2.out AnchorTest2.java AnchorTest2a.java
|
|
* @run main DocLintTester -ref AnchorTest2.out AnchorTest2a.java AnchorTest2.java
|
|
*/
|
|
|
|
/** */
|
|
public class AnchorTest2 {
|
|
/** <a id="AnchorTest2"> </a> */
|
|
public void a_name_AnchorTest2() { }
|
|
|
|
/** <a id="AnchorTest2"> </a> */
|
|
public void a_name_AnchorTest2_already_defined() { }
|
|
|
|
/** <a id="AnchorTest2a"> </a> */
|
|
public void a_name_AnchorTest2a_defined_in_other_file() { }
|
|
}
|