2012-12-17 07:47:05 -08:00
|
|
|
/*
|
|
|
|
* @test /nodynamiccopyright/
|
2012-12-20 17:59:46 +00:00
|
|
|
* @bug 8004832
|
|
|
|
* @summary Add new doclint package
|
2012-12-17 07:47:05 -08:00
|
|
|
* @library ..
|
2015-05-21 11:41:04 -07:00
|
|
|
* @modules jdk.compiler/com.sun.tools.doclint
|
2012-12-17 07:47:05 -08:00
|
|
|
* @build DocLintTester
|
|
|
|
* @run main DocLintTester -ref InvalidName.out InvalidName.java
|
|
|
|
*/
|
|
|
|
|
|
|
|
// tidy: Warning: <a> cannot copy name attribute to id
|
|
|
|
|
|
|
|
/**
|
|
|
|
* <a name="abc">valid</a>
|
|
|
|
* <a name="abc123">valid</a>
|
|
|
|
* <a name="a.1:2-3_4">valid</a>
|
|
|
|
* <a name="foo()">invalid</a>
|
|
|
|
*/
|
|
|
|
public class InvalidName { }
|