Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 93518 invoked from network); 23 Aug 2006 10:25:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Aug 2006 10:25:04 -0000 Received: (qmail 11804 invoked by uid 500); 23 Aug 2006 10:25:02 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 11524 invoked by uid 500); 23 Aug 2006 10:25:01 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 11511 invoked by uid 99); 23 Aug 2006 10:25:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Aug 2006 03:25:01 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=RCVD_IN_SORBS_WEB,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of oliver.deakin@googlemail.com designates 64.233.182.188 as permitted sender) Received: from [64.233.182.188] (HELO nf-out-0910.google.com) (64.233.182.188) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Aug 2006 03:25:00 -0700 Received: by nf-out-0910.google.com with SMTP id x4so308892nfb for ; Wed, 23 Aug 2006 03:24:39 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=XXwL4shftJQ6visWgJC/3PrsaMzgkX1gFgZbrx4+w+7rdK5qaUmtVuz35klH7HNPIrPI/T82DqzLo0YB4FhPvxxjhPrJH90W2RAL7SmyveiTjOymwg+obLItUR/xZuDCVDfnry1d2j/uw9JsdSKhfhCnN9wy785fvUGKyrB47Gc= Received: by 10.49.8.15 with SMTP id l15mr1722860nfi; Wed, 23 Aug 2006 03:24:39 -0700 (PDT) Received: from ?9.20.183.162? ( [195.212.29.92]) by mx.gmail.com with ESMTP id 28sm181799hua.2006.08.23.03.24.38; Wed, 23 Aug 2006 03:24:38 -0700 (PDT) Message-ID: <44EC2CE4.6080605@googlemail.com> Date: Wed, 23 Aug 2006 11:24:36 +0100 From: Oliver Deakin User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: harmony-dev@incubator.apache.org Subject: Re: New IBM VME available soon References: <44D75DBC.8090305@googlemail.com> <44D79164.7060400@pobox.com> <44D851D9.3020902@googlemail.com> <44E19352.8040805@gmail.com> <44E1CB2A.60602@googlemail.com> <44E99049.8000103@googlemail.com> <44E9C27E.1060308@pobox.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Leo Li wrote: > Hi, > On 8/21/06, Geir Magnusson Jr wrote: >> >> >> >> Oliver Deakin wrote: >> > Leo Li wrote: >> >> Hi, Oli: >> >> It is really a problem that System.getenv fails to behave as >> RI on >> >> windows. I will fix it by get env string out by os function such >> >> as getenvironmentvariable and getenv. Thank you for your tips. >> > >> > Thanks for looking at fixing this Leo :) >> > >> >> Besides, the returned environment variables is only defined in >> >> the process of the java application, for example, the command >> windows, >> >> and >> >> remains the same during the life cycle. :) >> > >> > It's not possible that the environment variables could change >> during the >> > lifetime >> > of the VM? If, for example, a Java program made a call out to native >> > code, isn't it >> > quite possible that that native code to alter the environment >> variables, >> > and thus >> > when we return to Java the environment of the process has changed? > > I have tested on linux that a native code to setenv, but RI still gets > the original value if use System.getenv. While on windows, I fails to > find > the "setenvironmentstring". So Harmony behaves just like RI. ok, I just tested myself on Windows and it seems that the RI ignores environment variable changes, so I guess it's fine if we stick with what we have in Harmony. Regards, Oliver > > > > Would you really ever want that? Seems to be a safety issue. >> >> geir >> >> --------------------------------------------------------------------- >> Terms of use : http://incubator.apache.org/harmony/mailing.html >> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org >> For additional commands, e-mail: harmony-dev-help@incubator.apache.org >> >> > > -- Oliver Deakin IBM United Kingdom Limited --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org For additional commands, e-mail: harmony-dev-help@incubator.apache.org