Bug 1411196 - Make mach bootstrap use the latest version of Oracle's JDK when building fennec; r?froydnj draft
authorGabriele Svelto <gsvelto@mozilla.com>
Tue, 24 Oct 2017 11:15:16 +0200
changeset 685260 6d951172a777adfc61bd2624495516f5d16a3c28
parent 685069 9056f2ee492fa481aa86146aba236c074628e9fd
child 737102 592241561c3e759ab3fd75455e81ae28fa8d3713
push id85880
push usergsvelto@mozilla.com
push dateTue, 24 Oct 2017 09:15:50 +0000
reviewersfroydnj
bugs1411196
milestone58.0a1
Bug 1411196 - Make mach bootstrap use the latest version of Oracle's JDK when building fennec; r?froydnj MozReview-Commit-ID: 7bUtundkBZU
python/mozboot/mozboot/gentoo.py
--- a/python/mozboot/mozboot/gentoo.py
+++ b/python/mozboot/mozboot/gentoo.py
@@ -44,27 +44,27 @@ class GentooBootstrapper(StyloInstall, B
         self.run_as_root(['emerge', '--noreplace', '--quiet', 'wget'])
 
         # Obtain the path held in the DISTDIR portage variable
         emerge_info = subprocess.check_output(['emerge', '--info'])
         distdir_re = re.compile('^DISTDIR="(.*)"$', re.MULTILINE)
         distdir = distdir_re.search(emerge_info).group(1)
 
         # Fetch the Oracle JDK since portage can't fetch it on its own
-        jdk_file = 'jdk-8u144-linux-x64.tar.gz'
+        jdk_file = 'jdk-8u152-linux-x64.tar.gz'
         self.run_as_root(['wget', '-c', '-O', distdir + '/' + jdk_file,
                           '--header', 'Cookie: oraclelicense=accept-securebackup-cookie',
-                          'http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/' + jdk_file])  # noqa
+                          'http://download.oracle.com/otn-pub/java/jdk/8u152-b16/aa0333dd3019491ca4f6ddbe78cdb6d0/' + jdk_file])
 
         # Install the Oracle JDK. We explicitly prompt the user to accept the
         # changes because this command might need to modify the portage
         # configuration files and doing so without user supervision is dangerous
         self.run_as_root(['emerge', '--noreplace', '--quiet',
                           '--autounmask-continue', '--ask',
-                          '=dev-java/oracle-jdk-bin-1.8.0.144'])
+                          '=dev-java/oracle-jdk-bin-1.8.0.152-r1'])
 
         from mozboot import android
         android.ensure_android('linux', artifact_mode=artifact_mode,
                                no_interactive=self.no_interactive)
 
     def suggest_mobile_android_mozconfig(self, artifact_mode=False):
         from mozboot import android
         android.suggest_mozconfig('linux', artifact_mode=artifact_mode)