Skip to content

Commit

Permalink
[Java] Fix javadoc link for JDK 21 GA.
Browse files Browse the repository at this point in the history
  • Loading branch information
vyazelenko committed Sep 20, 2023
1 parent 48cafa2 commit 2f6663f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ subprojects {
options.charSet = 'UTF-8'
options.links("https://www.javadoc.io/doc/org.agrona/agrona/${agronaVersion}/")

if (buildJavaVersion >= 21) { // early access JavaDoc location is different
if (buildJavaVersion > 21) { // early access JavaDoc location is different
options.links("https://download.java.net/java/early_access/jdk${buildJavaVersion}/docs/api/")
}
else if (buildJavaVersion >= 11) {
Expand Down

0 comments on commit 2f6663f

Please sign in to comment.