8025416: doclet not substituting {@docRoot} in some cases

Reviewed-by: jjg
This commit is contained in:
Bhavesh Patel 2013-12-03 14:21:45 -08:00
parent a64e195ca9
commit 81ef12b24a
7 changed files with 123 additions and 82 deletions

View file

@ -24,8 +24,13 @@
package pkg2;
/**
* Class 1. This is a test.
* Refer <a href="{@docRoot}/../technotes/guides/index.html">Here</a>. Lets see if this works
* or not.
* Class 2. This is a test.
* Refer <a href="{@docRoot}/../technotes/guides/index.html">Here</a> should be
* replaced with an absolute link.
* This <a href="{@docRoot}/pkg1/C1.html">Here</a> should not be replaced
* with an absolute link.
* Testing <a href="{@docRoot}/technotes/guides/index.html">Link 1</a> and
* <a href="{@docRoot}/pkg1/C1.html">Link 2</a>. Both should not be replaced with
* an absolute link.
*/
public class C2 {}