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

@ -25,7 +25,12 @@ package pkg1;
/**
* Class 1. This is a test.
* Refer <a href="{@docRoot}/../technotes/guides/index.html">Here</a>. Lets see if this works
* or not.
* Refer <a href="{@docRoot}/../technotes/guides/index.html">Here</a>. This link should
* not be replaced with an absolute link.
* This <a href="{@docRoot}/pkg2/C2.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}/pkg2/C2.html">Link 2</a>. 2 back-to-back links using
* docroot. These should not be replaced with an absolute link.
*/
public class C1 {}