Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 99777 invoked from network); 30 Nov 2006 01:31:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Nov 2006 01:31:27 -0000 Received: (qmail 10782 invoked by uid 500); 30 Nov 2006 01:31:29 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 10741 invoked by uid 500); 30 Nov 2006 01:31:29 -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 10732 invoked by uid 99); 30 Nov 2006 01:31:29 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Nov 2006 17:31:29 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of alexey.v.varlamov@gmail.com designates 66.249.82.224 as permitted sender) Received: from [66.249.82.224] (HELO wx-out-0506.google.com) (66.249.82.224) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Nov 2006 17:31:17 -0800 Received: by wx-out-0506.google.com with SMTP id i26so2388972wxd for ; Wed, 29 Nov 2006 17:30:57 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WbV6SAMCmDPIFXdyL2Yj6g3shnDAvc1IyOUSeuRibxe2VoJCVCloJgAzE9Q0lZ1RmXkmqNnNh24oXL1qdQFe0wf835auA/7D1BMBZl4qtoDgQS6jt9gvhood4w+plKF9zvSB++quisyarn5QXS1uztfg7kZyHAXzAHB+QoQ2sXE= Received: by 10.70.116.14 with SMTP id o14mr5191041wxc.1164850256956; Wed, 29 Nov 2006 17:30:56 -0800 (PST) Received: by 10.70.23.14 with HTTP; Wed, 29 Nov 2006 17:30:56 -0800 (PST) Message-ID: Date: Thu, 30 Nov 2006 07:30:56 +0600 From: "Alexey Varlamov" To: dev@harmony.apache.org, geir@pobox.com Subject: Re: [drlvm/classlib/jdktools] system property o.a.h.boot.class.path In-Reply-To: <456E1959.8050408@pobox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <456E1959.8050408@pobox.com> X-Virus-Checked: Checked by ClamAV on apache.org 2006/11/30, Geir Magnusson Jr. : > (How's that for a category in the subject line?) > > I'm working on jdktools, and was getting javac going. We have a small > issue. Currently, the wrapper code grabs the boot class path via the > system property > > org.apache.harmony.boot.class.path > > This is initially set by luni, which collects all the entries in > bootclasspath.properties and adds them to the path. > > Now, the one thing that it doesn't do is include the kernel.jar, as > that's a degree of freedom for the vm which provides that jar. > > Now, in DRLVM, we take the o.a.h.b.c.p and prefix the kernel.jar, prefix > and postfix -Xbootclasspath/? for a complete runtime bootclasspath, and > call it > > vm.boot.class.path Things are changing :) Since recent H-2008 commit, magics support jars are going to bypass this machinery and slip into boot loader directly via SetBCPElement(). I'll fix this while integrating properties refactoing submission (HARMONY-1925), please shout if there are objections. > > I had to modify the javac wrapper to use this rather than o.a.h.b.c.p. > > We need to change something - either we can suggest that VMs modify the > value of o.a.h.b.c.p, or create a new one - formally declare something > like > > o.a.h.vm.boot.class.path > > as a standard property for this purpose. > > I prefer the latter - it keeps it cleaner, and makes it easy to figure > out what the VM is glomming on. For me, lesser properties diversity is better. Do we have some sensible use for o.a.h.b.c.p alone? > > If we agree, I'll do the switch in DRLVM and javac. There should be no > changes required elsewhere. Please hold on DRLVM mods, until I finish with H-1925 (hopefuly today). -- Alexey