From 33cddef026ad7a8c86eac0195377d67f00b37674 Mon Sep 17 00:00:00 2001 From: Brian Clozel Date: Wed, 15 Sep 2021 18:45:15 +0200 Subject: [PATCH] Upgrade Javadoc URLs for JDK 17 based build Prior to this commit, the Javadoc task would fail on `spring-context-indexer` and `spring-instrumentation`. It seems that missing remote docs or HTTP redirects were failing the process. This commit removes the missing published Javadocs and updates the version for the JDK API. See gh-17778 --- build.gradle | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 54b192d25bcd..255ecde3a6df 100644 --- a/build.gradle +++ b/build.gradle @@ -365,11 +365,10 @@ configure([rootProject] + javaProjects) { project -> } ext.javadocLinks = [ - "https://docs.oracle.com/javase/8/docs/api/", - "https://docs.oracle.com/javaee/7/api/", + "https://docs.oracle.com/en/java/javase/17/docs/api/", + "https://javaee.github.io/javaee-spec/javadocs/", "https://docs.oracle.com/cd/E13222_01/wls/docs90/javadocs/", // CommonJ "https://www.ibm.com/docs/api/v1/content/SSEQTP_8.5.5/com.ibm.websphere.javadoc.doc/web/apidocs/", - "https://glassfish.java.net/nonav/docs/v3/api/", "https://docs.jboss.org/jbossas/javadoc/4.0.5/connector/", "https://docs.jboss.org/jbossas/javadoc/7.1.2.Final/", "https://tiles.apache.org/tiles-request/apidocs/",