harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geir Magnusson Jr <g...@pobox.com>
Subject Re: New IBM VME available soon
Date Mon, 21 Aug 2006 14:26:06 GMT


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?

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


Mime
View raw message