Path: csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod From: Matthias Klose Newsgroups: linux.debian.maint.java Subject: Re: Default JRE and Java plugin Date: Wed, 07 Oct 2015 11:50:02 +0200 Message-ID: References: X-Original-To: Debian Java X-Mailbox-Line: From debian-java-request@lists.debian.org Wed Oct 7 09:47:52 2015 Old-Return-Path: X-Amavis-Spam-Status: No, score=-7.7 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -5 Old-X-Envelope-From: doko@debian.org Old-X-Envelope-To: User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailing-List: archive/latest/18746 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/5614EA38.4020303@debian.org Approved: robomod@news.nic.it Lines: 48 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 7 Oct 2015 11:47:36 +0200 X-Original-Message-ID: <5614EA38.4020303@debian.org> X-Original-References: <5614E737.5000905@apache.org> Xref: csiph.com linux.debian.maint.java:8432 On 07.10.2015 11:34, Emmanuel Bourg wrote: > Hi all, > > I'm still rounding the corners for the switch to OpenJDK 8 and there is > a remaining issue regarding the Java plugin. The src:icedtea-web package > provides the icedtea-plugin package which pulls icedtea-7-plugin. > Matthias would like to split src:icedtea-web and have one version per > JRE supported. That would give a src:icedtea-8-web package building > icedtea-8-plugin. we have some duplicated code, but we don't want to release with two java versions anyway. > The question is what do we do with the versionless icedtea-plugin > package? It cannot remain in src:icedtea-web since the package will > eventually go away. Since the package basically selects the default > plugin its role could be taken over by src:java-common (the source of > the default-jre/jdk packages). > > I see different solutions: > > 1. Move icedtea-plugin as is to src:java-common and make it select the > default plugin (icedtea-7-plugin now, icedtea-8-plugin after the switch). > > 2. Move icedtea-plugin to src:java-common and rename it to > default-java-plugin or default-jre-plugin (so if we switch to another > implementation some day we don't have to rename the package). > > 3. Don't move icedtea-plugin but make default-jre recommends the default > plugin. > > 4. Solution 1 + make default-jre recommends icedtea-plugin > > 5. Solution 2 + make default-jre recommends default-java-plugin > > I tend to favor the solution 3. With default-jre recommending the plugin > we mimic the behaviour of the Oracle JRE since it includes the plugin by > default, but the weak dependency makes it possible to uninstall the > plugin afterward. > > What do you think? Not moving/or renaming the iceded-plugin to java-defaults would need rebuilds of the icedtea-web package on the version change. Not a big deal, but that's why I don't like 3. Whether recommends or suggests I don't care, but these should match with the ones in the versioned packages. Matthias