Bug 1292649 - Use default-jdk instead of an explicit version of the jdk r?glandium draft
authorSylvestre Ledru <sledru@mozilla.com>
Thu, 29 Dec 2016 19:44:57 +0100
changeset 454579 77a90b81a36a4738b9a4272605c3c8a55dd0ce02
parent 454520 87efd66165ddaa1b97608b92cd651b73c11aca6f
child 540754 149c3a05187c48b1d80ae23f5d57a932685a8fa1
push id39980
push userbmo:sledru@mozilla.com
push dateThu, 29 Dec 2016 18:45:45 +0000
reviewersglandium
bugs1292649
milestone53.0a1
Bug 1292649 - Use default-jdk instead of an explicit version of the jdk r?glandium Should be pretty safe as Java compa is usually very good. This will fix the issue on Debian testing not having openjdk-7-jdk and current Debian stable having it. (same with Ubuntu) MozReview-Commit-ID: Alxg4K4PwQ4
python/mozboot/mozboot/debian.py
--- a/python/mozboot/mozboot/debian.py
+++ b/python/mozboot/mozboot/debian.py
@@ -69,17 +69,17 @@ class DebianBootstrapper(BaseBootstrappe
 
     # Subclasses can add packages to this variable to have them installed.
     BROWSER_DISTRO_PACKAGES = []
 
     # These are common packages for building Firefox for Android
     # (mobile/android) for all Debian-derived distros (such as Ubuntu).
     MOBILE_ANDROID_COMMON_PACKAGES = [
         'zlib1g-dev',  # mobile/android requires system zlib.
-        'openjdk-7-jdk',
+        'default-jdk',
         'wget',  # For downloading the Android SDK and NDK.
         'libncurses5:i386',  # See comments about i386 below.
         'libstdc++6:i386',
         'zlib1g:i386',
     ]
 
     # Subclasses can add packages to this variable to have them installed.
     MOBILE_ANDROID_DISTRO_PACKAGES = []