mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-16 17:14:41 +02:00
8081854: Javadoc should generate named anchors for HTML4 output
Reviewed-by: ksrini
This commit is contained in:
parent
63b337e82e
commit
9075df539a
15 changed files with 155 additions and 149 deletions
|
@ -23,7 +23,7 @@
|
|||
|
||||
/*
|
||||
* @test
|
||||
* @bug 4521661
|
||||
* @bug 4521661 8081854
|
||||
* @summary Test to make sure that there is a link with a proper anchor
|
||||
* from a serializable class to serialized-form.html.
|
||||
* @author jamieh
|
||||
|
@ -48,7 +48,7 @@ public class TestLinkToSerialForm extends JavadocTester {
|
|||
checkExit(Exit.OK);
|
||||
|
||||
checkOutput("serialized-form.html", true,
|
||||
"<a id=\"pkg.C\">");
|
||||
"<a name=\"pkg.C\">");
|
||||
checkOutput("pkg/C.html", true,
|
||||
"<a href=\"../serialized-form.html#pkg.C\">");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue