Path: csiph.com!goblin2!goblin.stu.neva.ru!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Markus Koschany Newsgroups: linux.debian.maint.java Subject: Re: Making OpenJDK 7 the default in Wheezy-LTS Date: Mon, 28 Mar 2016 18:10:02 +0200 Message-ID: References: X-Mailbox-Line: From debian-java-request@lists.debian.org Mon Mar 28 16:06:05 2016 Old-Return-Path: X-Amavis-Spam-Status: No, score=-11.9 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate:hard: -5 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.7.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Ashg2qnojCV6fKBM9lxfrVeUQHsqAhAqn" X-Sa-Exim-Scanned: No (on richard.fcube.de); SAEximRunCond expanded to false X-Mailing-List: archive/latest/19286 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/56F95654.80806@debian.org Approved: robomod@news.nic.it Lines: 127 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 28 Mar 2016 18:05:40 +0200 X-Original-Message-ID: <56F95654.80806@debian.org> X-Original-References: <56F439E8.4010007@debian.org> <56F6C13E.6090003@debian.org> Xref: csiph.com linux.debian.maint.java:8960 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Ashg2qnojCV6fKBM9lxfrVeUQHsqAhAqn Content-Type: multipart/mixed; boundary="UxwnpOwVTd0fiE3G1MvJ9awEjI4GEe99w" From: Markus Koschany To: debian-java@lists.debian.org Message-ID: <56F95654.80806@debian.org> Subject: Re: Making OpenJDK 7 the default in Wheezy-LTS References: <56F439E8.4010007@debian.org> <56F6C13E.6090003@debian.org> In-Reply-To: <56F6C13E.6090003@debian.org> --UxwnpOwVTd0fiE3G1MvJ9awEjI4GEe99w Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi tony, Am 26.03.2016 um 18:05 schrieb tony mancill: > Hello Markus, >=20 > On 03/24/2016 12:03 PM, Markus Koschany wrote: [...] >> Is there a way to change the preferred Java environment to OpenJDK 7 >> with update-alternatives, assumed OpenJDK 6 was installed before? Is >> this a good idea or should we just warn users about the fact that they= >> use an unsupported Java version on their system and recommend to do th= e >> switch manually? >=20 > Since things could potentially break, or the user might have already > performed some custom configuration, I think warning the user via a new= > NEWS entry (see [1]) in java-common is appropriate. Then the user can > take the necessary/desired action. That's a good suggestion. I think a forced change to OpenJDK 7 is out of the question. After the default has been switched to OpenJDK 7, manual interaction will be required by the users with update-alternatives. That should raise their awareness for the change and give them the freedom to switch when they feel comfortable with it. We will also announce those changes via the debian-security-announce and debian-lts-announce mailing lists which will contain links to https://wiki.debian.org/LTS/Wheezy This site will document all important issues to be aware of for Wheezy LTS. There will also be another NEWS on debian.org too. >> Otherwise I have identified four packages that strictly depend on >> openjdk-6-jdk and fourteen packages that depend on openjdk-6-jre witho= ut >> a good alternative. My intention is to switch the dependencies to >> something like default-jre | java6-runtime or default-jdk | java6-sdk.= >> The change is trivial, I was just wondering why so many packages were = in >> this state back then. >=20 > I recall there being some confusion (perhaps also perpetrated or > propagated by me) as to the Right Way of specifying a java runtime > dependency. We could (and probably should) add a lintian warning about= > such strict dependencies. >=20 >> Any suggestions what should be avoided or done when switching the >> default to OpenJDK 7 in Wheezy? >=20 > I believe you are forging a new trail here. Thank you for investing in= > LTS support. I got some feedback from Emmanuel on IRC and he voiced some concerns about the switch to OpenJDK 7 because web applications might behave differently. This site lists all those possible compatibility issues. [1]= This is mainly an issue with web servers like Tomcat. However after checking the dependencies again, it appears that Tomcat 6 / 7 already depend on default-jre-headless | java6-runtime-headless. Even if we switched the default to OpenJDK 7, the dependencies would be satisfied and OpenJDK 7 would not be pulled in except if specifically requested. Emmanuel, could you outline again what needs to be done to address your concerns? As far as dependencies goes this looks sane to me. Regards, Markus [1] http://www.oracle.com/technetwork/java/javase/compatibility-417013.ht= ml --UxwnpOwVTd0fiE3G1MvJ9awEjI4GEe99w-- --Ashg2qnojCV6fKBM9lxfrVeUQHsqAhAqn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJW+VZUXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBQ0YzRDA4OEVGMzJFREVGNkExQTgzNUZE OUFEMTRCOTUxM0I1MUU0AAoJENmtFLlRO1Hk4OEP+gNLZx2eL8XGQrE6iv8Jvtl3 is1fTgJ0FACTWP52v0nwDe0gJ9W8cXrzeU4U53W1rIBRiGSCxgRxIvTC0xv2DpNS L/YELGzhMhi68+MbwzVonqTaRcQCjgSSibSsjcK4yTin0/t9QIeKuQ04jptCEV3G 1GwmaYZ8Yf5A8GeK9D7dWKHrc111kXXMd/SluRmvg6eb4l6cs1g5eWE0kIOhcImC MxtJBo1y72sqt2lwH0Xz5R0CxYIMRmcF/hw7bgR2orUKFebt0IjbAcBUUNrnMjxW KgPrw026UJAmiDVZZQCABSQrl7eD7wfmDM6PP+4yhLea0ZMZW6HntxwP+Bnl61ix /uK40jwhP4MDXJPZE0d3B8ZWsf+b50PcpcdwOx4QVkkzu/mbfaWdZdXqzdRDQnZa U6mlIttBpmII0xlPjUhfzPlrj0TCJExUdzPYZyYXGSs7HQYV/liZQcWPn4dR500M ux7stfHTeAMcFvWRF/9us9Y8+Ei0vPkxfdLdREMBq2wwclsiJhaFP7cLJM75ytl5 7Rw9WG+v4TJXSiiXnmlgNo1xxBmqEiMyzbxLzklJJX4DLV9PWICF1o6h92b4MBe7 AtbnASPlBcHKKfFI2NVJV4IOQRfwC9pN9QhIS9aEc7JC7l2BsIpOy+rtRseOvtPp NPyCGBuBg12B9QfxI+3V =OmvO -----END PGP SIGNATURE----- --Ashg2qnojCV6fKBM9lxfrVeUQHsqAhAqn--