Skip to content

Commit

Permalink
MJAVADOC-580: javadoc:javadoc detects wrong java API link when runnin…
Browse files Browse the repository at this point in the history
…g on openjdk 11.0.2
  • Loading branch information
ybova authored and rfscholte committed Mar 1, 2019
1 parent 0799b53 commit a223f25
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6249,7 +6249,8 @@ protected final OfflineLink getDefaultJavadocApiLink()
}
else if ( javaApiversion.isAtLeast( "11" ) )
{
javaApiLink = String.format( "https://docs.oracle.com/en/java/javase/%s/docs/api/", javaApiversion );
javaApiLink = String.format( "https://docs.oracle.com/en/java/javase/%s/docs/api/",
javaApiversion.getValue( 1 ) );
}
else if ( javaApiversion.asMajor().isAtLeast( "6" ) )
{
Expand Down

0 comments on commit a223f25

Please sign in to comment.