Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #8958

Re: Making OpenJDK 7 the default in Wheezy-LTS

Path csiph.com!news.mixmin.net!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod
From tony mancill <tmancill@debian.org>
Newsgroups linux.debian.maint.java
Subject Re: Making OpenJDK 7 the default in Wheezy-LTS
Date Sat, 26 Mar 2016 18:20:02 +0100
Message-ID <rh02u-3Q2-19@gated-at.bofh.it> (permalink)
References <rgiNQ-7cM-3@gated-at.bofh.it>
X-Mailbox-Line From debian-java-request@lists.debian.org Sat Mar 26 17:12:17 2016
Old-Return-Path <tmancill@debian.org>
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] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -5
X-Greylist delayed 401 seconds by postgrey-1.35 at bendel; Sat, 26 Mar 2016 17:12:03 UTC
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.6.0
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="0fxv79oTkmis1IdfbPqIg26RCSSdftxWd"
X-Mailing-List <debian-java@lists.debian.org> archive/latest/19284
List-ID <debian-java.lists.debian.org>
List-URL <https://lists.debian.org/debian-java/>
List-Archive https://lists.debian.org/msgid-search/56F6C13E.6090003@debian.org
Approved robomod@news.nic.it
Lines 100
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sat, 26 Mar 2016 10:05:02 -0700
X-Original-Message-ID <56F6C13E.6090003@debian.org>
X-Original-References <56F439E8.4010007@debian.org>
Xref csiph.com linux.debian.maint.java:8958

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hello Markus,

On 03/24/2016 12:03 PM, Markus Koschany wrote:
> Hi all,
> 
> Wheezy-LTS is going to start next month and there is the intention to
> switch the default-jre|jdk from OpenJDK 6 to OpenJDK 7 because the
> latter can be supported until Wheezy reaches EOL in 2018-05-31.
> 
> I've pushed a new branch wheezy-lts to java-common with the necessary
> changes in debian/rules.
> 
> https://anonscm.debian.org/cgit/pkg-java/java-common.git/tree/debian/rules?h=wheezy-lts
> 
> Can someone confirm that this is really sufficient to switch the default
> to OpenJDK 7?
> 
> 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 the
> switch manually?

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.

> Otherwise I have identified four packages that strictly depend on
> openjdk-6-jdk and fourteen packages that depend on openjdk-6-jre without
> 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.

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.

> Any suggestions what should be avoided or done when switching the
> default to OpenJDK 7 in Wheezy?

I believe you are forging a new trail here.  Thank you for investing in
LTS support.

Cheers,
tony

[1]
https://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#bpp-news-debian


Back to linux.debian.maint.java | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Making OpenJDK 7 the default in Wheezy-LTS Markus Koschany <apo@debian.org> - 2016-03-24 20:10 +0100
  Re: Making OpenJDK 7 the default in Wheezy-LTS tony mancill <tmancill@debian.org> - 2016-03-26 18:20 +0100
    Re: Making OpenJDK 7 the default in Wheezy-LTS Markus Koschany <apo@debian.org> - 2016-03-28 18:10 +0200
      Re: Making OpenJDK 7 the default in Wheezy-LTS Emmanuel Bourg <ebourg@apache.org> - 2016-03-29 09:10 +0200
        Re: Making OpenJDK 7 the default in Wheezy-LTS Markus Koschany <apo@debian.org> - 2016-03-29 21:00 +0200
  Re: Making OpenJDK 7 the default in Wheezy-LTS Andrew Haley <aph@redhat.com> - 2016-03-29 13:00 +0200
    Re: Making OpenJDK 7 the default in Wheezy-LTS Markus Koschany <apo@debian.org> - 2016-03-29 21:10 +0200

csiph-web