[External] : RE: Docs generated by Java8 Javadoc are incompatible with "javadoc -source 8"

Jonathan Gibbons jonathan.gibbons at oracle.com
Tue Jan 3 16:14:26 UTC 2023


On 12/27/22 2:28 AM, Roman Marchenko wrote:
> Also there is another minor question. We've got the scenario with URL redirection when URL is not found by a server. For example, URL"https://docs.oracle.com/javase/8/docs/api/element-list"  currently will be redirected to"https://docs.oracle.com/en/java/javase/19/"  since element-list cannot be found. I suppose it can be processed by detecting that redirection occurred and re-reading the link to find "package-list".
>
> Roman


I'll address this issue separately from the rest of your email. This 
sounds like a bug, and should be handled separately, although I do not 
have a good idea for a fix at this time.  That being said, I note that 
after the redirection, the URL no longer points to an element-list file, 
and so that is the key to detecting that javadoc should check for 
package-list.

-- Jon



More information about the javadoc-dev mailing list