RFR 6457406 : javadoc doesn't handle <a href='http://...'> properly in producing index pages

Yuri Nesterenko yuri.nesterenko at oracle.com
Tue Feb 11 07:44:28 PST 2014


Hi,

could you please review this small fix to
https://bugs.openjdk.java.net/browse/JDK-6457406 ?

It's hard to understand what is broken from (the HTML) description in
the bug report.
Currently, when javadoc does generate an index or summary document
and encounters a full URL, with protocol and everything,
in single quotes, it treats it as a relative URL.
Results is, a string in href="" concatenating docRoot and original
URL. Any browser shows this quite unpredictably.


Webrev:
http://cr.openjdk.java.net/~yan/6457406/webrev.00

Result was run through tidy: some 67 errors less.

Thanks,
-yan


More information about the javadoc-dev mailing list