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.
This commit is contained in:
Jason Tedor 2019-04-28 20:14:17 -04:00
parent c0d40ae4ca
commit 7a82277bc3
No known key found for this signature in database
GPG Key ID: FA89F05560F16BC5
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ String jdkBuild = jdkVersionMatcher.group(3)
repositories { repositories {
ivy { ivy {
url "https://download.java.net" url "https://download.oracle.com"
patternLayout { patternLayout {
artifact "java/GA/jdk${jdkMajor}/${jdkBuild}/GPL/openjdk-[revision]_[module]-x64_bin.[ext]" artifact "java/GA/jdk${jdkMajor}/${jdkBuild}/GPL/openjdk-[revision]_[module]-x64_bin.[ext]"
} }