Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 92849 invoked from network); 13 Dec 2006 11:04:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Dec 2006 11:04:59 -0000 Received: (qmail 55428 invoked by uid 500); 13 Dec 2006 11:05:04 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 55392 invoked by uid 500); 13 Dec 2006 11:05:03 -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 55383 invoked by uid 99); 13 Dec 2006 11:05:03 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Dec 2006 03:05:03 -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 64.233.162.239 as permitted sender) Received: from [64.233.162.239] (HELO nz-out-0506.google.com) (64.233.162.239) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Dec 2006 03:04:53 -0800 Received: by nz-out-0506.google.com with SMTP id j2so56489nzf for ; Wed, 13 Dec 2006 03:04:33 -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=nBVO7k46u1OCJ7WNBNwR7WpT/1ZORYYg4zQfD/T7Wi0XkCA24/bZDmljbl25CG2F9A+urntlgbAzBnIdhq4E3qTtP2vSeYJEjJqCrOfJvGpcHEqtO1ZP9WZxIk3SaUuqHALinxv8Zryu9mtOKHMlW92yJ7ORcbauQuqZGeohWDA= Received: by 10.65.185.13 with SMTP id m13mr1210382qbp.1166007872598; Wed, 13 Dec 2006 03:04:32 -0800 (PST) Received: by 10.65.119.18 with HTTP; Wed, 13 Dec 2006 03:04:32 -0800 (PST) Message-ID: Date: Wed, 13 Dec 2006 17:04:32 +0600 From: "Alexey Varlamov" To: dev@harmony.apache.org Subject: Re: [classlib][luni] update for bootstrapClassPath causes regression on DRL VM In-Reply-To: <457FD492.5080703@googlemail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6e47b64f0612122227p9371022h3e98701c8caf2d82@mail.gmail.com> <457FA29D.3050407@pobox.com> <6e47b64f0612122302n44d8f031y2ea6d31f4e6780d2@mail.gmail.com> <457FB48D.1080702@pobox.com> <457FCB77.2060206@gmail.com> <457FD492.5080703@googlemail.com> X-Virus-Checked: Checked by ClamAV on apache.org 2006/12/13, Oliver Deakin : > Tim Ellison wrote: > > Geir Magnusson Jr. wrote: > > > >> Do we really have a problem? Or is it something else? > >> > >> Last night, Gregory tested his fix, and I've build snapshots (r486417) > >> on x86 linux/win and x86_64 linux and spot checked with apps and such, > >> and things seem to work. > >> > >> I'n posting the snapshots now to ~geirm and will send a separate note > >> for people to evaluate. > >> > > > > Also catching up on mail. I suggested (on the other thread) that we > > need to define the return result for undefined properties, answering > > NULL seemed reasonable, but now I look at the vmiError enum in vmi.h it > > appears that we have already defined: > > "VMI_ERROR_NOT_FOUND -- The requested system property was not found" > > > > > > This surprises me slightly - I would have imagined we would want to work > in a similar way > to the System.getSystem() method and return NULL in the case of a > non-existent property > being requested. However, it appears that GetSystemProperty() is > intended to return > VMI_ERROR_NOT_FOUND in this case. > > I would say that since the function behaviour in this case has not yet > been clearly spec'ed > (and we have two VMs that behave differently) we should make a choice > now about which > return is correct and fix up the VMs. So, should we just return a NULL > property value and > no error code, or return VMI_ERROR_NOT_FOUND? Is there any reason to distinguish these cases? I suppose no, then returned NULL is fine. -- Alexey > > Regards, > Oliver > > > > Regards, > > Tim > > > > > > -- > Oliver Deakin > IBM United Kingdom Limited > >