Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 82306 invoked from network); 17 Oct 2007 10:38:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Oct 2007 10:38:40 -0000 Received: (qmail 9204 invoked by uid 500); 17 Oct 2007 10:38:27 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 9177 invoked by uid 500); 17 Oct 2007 10:38:27 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 9168 invoked by uid 99); 17 Oct 2007 10:38:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Oct 2007 03:38:27 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of t.p.ellison@gmail.com designates 209.85.128.185 as permitted sender) Received: from [209.85.128.185] (HELO fk-out-0910.google.com) (209.85.128.185) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Oct 2007 10:38:29 +0000 Received: by fk-out-0910.google.com with SMTP id 18so1995514fks for ; Wed, 17 Oct 2007 03:38:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; bh=1gQHkohKYvWhYYi/qHyiY8piDstEPHMLO2bg5y/RI1M=; b=VAj6VwmXz/iyxRRITfkUT/eFcPd6t/l0NsGGk6e7AdQqVChwE4lFoJvS1CYPEHF1R8O9+6ElDu1Xo6gAiXpuYLh/5cJaSkHbv60cb2mH19P84xyGj/iW8fDpz6gX6lG78yPdoLLlzz2NREA1GykdLRHiLEZJSaNO0y+GVOFxrMQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=KC63ER6McxF770GsSx2hSLdxRC1JcrGIZwgAnfuyhvdukXW6cikklyMaqqXlZ3+r69TKEjnr8UWVRBw6Eot2VO6fFCp3/x49dY8TttvVNAi0iGfjml7jgUYfA9U3WBem5zjz5MBqwAJu/UZeSQDmAGagbrGK1HgxgGi/x5ZMfOk= Received: by 10.82.138.6 with SMTP id l6mr130085bud.1192617487124; Wed, 17 Oct 2007 03:38:07 -0700 (PDT) Received: from ?9.20.183.67? ( [195.212.29.92]) by mx.google.com with ESMTPS id h1sm8276051nfh.2007.10.17.03.38.05 (version=SSLv3 cipher=RC4-MD5); Wed, 17 Oct 2007 03:38:05 -0700 (PDT) Message-ID: <4715E604.80503@gmail.com> Date: Wed, 17 Oct 2007 11:37:56 +0100 From: Tim Ellison User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: dev@harmony.apache.org Subject: Re: [general] jre bundle size References: <9623c9a50710161841w1effe2cay8c42b0ac6f4dc11d@mail.gmail.com> <94d710af0710161852u4b165775w93d7742c0fb2e25d@mail.gmail.com> <473c46620710161906y6d2ce612p4cb894ebe1d8490e@mail.gmail.com> <0vq8x62s33f.fsf@gmail.com> In-Reply-To: <0vq8x62s33f.fsf@gmail.com> X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Egor Pasko wrote: > On the 0x372 day of Apache Harmony Spark Shen wrote: >> 2007/10/17, Sean Qiu : >>> I suggest we maintain our classlib modules (jar) in a central repository. >>> So we can just get a kernel bundle, and it will download the required >>> jars. >> >> +1 for kernel bundle. >> >> We can add options for the default build task. Using these options to >> determine whether >> to include source code ,debug information etc. >> >> And what about and a new build target 'build-core' for only those kernel >> bundles necessary >> to start JRE. > > Sorry, guys: > -1 > > First of all, -1 to removing debug information. When you need it, it > is time when you really need it and you are really stuck and blaming > your JRE for various aspects if debug info is not there. > > Secondly, to the kernel bundle: > > 1. how many people want to download just 1/3 of the JRE and then keep > looking of the damn slow download when running some app? This would > be an unpleasant surprize because people just did not ask you to go > web. Looks suspicious, slow and ugly. I do not like unpleasant > surpizes. > > 2. it is a lot of work. We will need to identify places that can be > stripped, tweak classloader to download stuff instead of throwing > complains. Ideally, we will need to measure user experience: how > many users did not want to download more, and what we can do to > increase the number of users? Seems pretty hard. So, unless > somebody has a good design in their mind, I would object to this > effort. And if they have, please, publish the design on wiki. > > 3. how about permissions? anyone who runs a Java app is sometimes > asked for a root password to update the JRE? not very convenient > > 4. I believe Linux package managers would anyway stick to the full > package (otherwize it turns to a nightmare of permissions, security > issues and such). So, we won't get any lovers of this stuff in the > Linux community, which is completely not impressing. > > Slow, ugly, surprizing unpleasantly, vulnerable to attacks. gosh. > > If Sun likes that, just let them have fun. I think you are being a bit harsh Egor. I have to admit that this is not where I would invest my time because I think there is plenty of low-hanging fruit to be picked for space savings in the current code, and that producing a downloadable version is not going to solve that problem. However, if that is Xiao-Feng / Sean's itch then I'd let them go at it. It would have to be available as an option since I also agree that there are many occasions when people just want the whole thing. Regards, Tim