diff --git a/build.gradle b/build.gradle index 586f2d9c5..942d14a8f 100644 --- a/build.gradle +++ b/build.gradle @@ -199,7 +199,7 @@ subprojects { options.docEncoding = 'UTF-8' options.charSet = 'UTF-8' options.links("https://www.javadoc.io/doc/org.agrona/agrona/${libs.versions.agrona.get()}/") - if (buildJavaVersion >= 23) { // early access JavaDoc location is different + if (buildJavaVersion > 23) { // early access JavaDoc location is different options.links("https://download.java.net/java/early_access/jdk${buildJavaVersion}/docs/api/") } else {