Bug 1427790 - Ensure that Java8 is bootstrapped on Mac to maintain Android SDK compatibility. r=nalexander
authorPierre Bertran <p.bertran@qwant.com>
Wed, 03 Jan 2018 08:32:00 -0500
changeset 397666 5a89b4f4ff4ddb5218c0d1bdc95450a1f6f0015b
parent 397665 8db1ca4e70392eff3df6ccc15184f195bbc7920f
child 397667 fc473612a064d9f2caec20e4130aed6c32b94fc6
push id33188
push userebalazs@mozilla.com
push dateThu, 04 Jan 2018 08:01:54 +0000
treeherdermozilla-central@5afa32a16a2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnalexander
bugs1427790
milestone59.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1427790 - Ensure that Java8 is bootstrapped on Mac to maintain Android SDK compatibility. r=nalexander
python/mozboot/mozboot/osx.py
--- a/python/mozboot/mozboot/osx.py
+++ b/python/mozboot/mozboot/osx.py
@@ -345,17 +345,17 @@ class OSXBootstrapper(BaseBootstrapper):
 
         # 1. System packages.
         packages = [
             'wget',
         ]
         self._ensure_homebrew_packages(packages)
 
         casks = [
-            'java',
+            'java8',
         ]
         installed = self._ensure_homebrew_casks(casks)
         if installed:
             print(JAVA_LICENSE_NOTICE)  # We accepted a license agreement for the user.
 
         is_64bits = sys.maxsize > 2**32
         if not is_64bits:
             raise Exception('You need a 64-bit version of Mac OS X to build Firefox for Android.')