From 7a82277bc3e93f299ac2305325f1695f0435467f Mon Sep 17 00:00:00 2001 From: Jason Tedor Date: Sun, 28 Apr 2019 20:14:17 -0400 Subject: [PATCH] Change JDK distribution source (#41626) We had been obtaining JDK distributions from download.java.net. This site is now presenting a certificate that does not list download.java.net as a SAN. Therefore with host verification, the build can not use this site. This commit switches to using download.oracle.com which appears to be an alternative name for the same CNAME download.oracle.com.edgekey.net. This allows our builds to resume. --- distribution/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distribution/build.gradle b/distribution/build.gradle index 8132729b5a1..b151858bf19 100644 --- a/distribution/build.gradle +++ b/distribution/build.gradle @@ -235,7 +235,7 @@ String jdkBuild = jdkVersionMatcher.group(3) repositories { ivy { - url "https://download.java.net" + url "https://download.oracle.com" patternLayout { artifact "java/GA/jdk${jdkMajor}/${jdkBuild}/GPL/openjdk-[revision]_[module]-x64_bin.[ext]" }