[ 
https://issues.apache.org/jira/browse/MJAVADOC-796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17855108#comment-17855108
 ] 

Phillip Webb commented on MJAVADOC-796:
---------------------------------------

> Phillip Webb, can you also provide a reference to the described behavior?

I was going by [this commit|https://hg.openjdk.org/jdk/jdk/rev/526f5cf13972]. 
If you look at the new {{open}} method it gets given the URL, follows any 
redirects and then returns an {{InputStream}}. I'm reading that method as the 
thing that opens the URL and returns the content. Note that it doesn't return a 
new URL, so the original link must be left as it was.

> Do not follow links for Java 12+
> --------------------------------
>
>                 Key: MJAVADOC-796
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-796
>             Project: Maven Javadoc Plugin
>          Issue Type: Improvement
>          Components: javadoc
>    Affects Versions: 3.7.0
>            Reporter: Michael Osipov
>            Assignee: Michael Osipov
>            Priority: Major
>             Fix For: 3.7.1
>
>
> For years, we have been following redirects manually because {{javadoc}} was 
> not able to. with Java 12 (JDK-8190312) is was implemented and our logic can 
> be skipped when {{javadoc}} 12+ is used.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to