John Keiser wrote:
> > How will GNU Classpath get the system properties, what is defined as
> > the variable 'properties' in java/lang/System.java at the moment?
> >
> 
> We should determine VM-independent things via a static initializer.  This
> should be native, as most of the properties are platform-dependent.  Some of
> those things *must* be determined at runtime, and others must be done at
> compile-time (i.e. there is no way to determine them except if you just know
> it beforehand, like the path separator (: on Win, ; on Unix).

Why do we need a native method?  Just put them in a file and let the static
initializer read them in using java.util.Properties.load().  The VM can then
call a special method to add properties to the list for -D things, or it
could be part of the gnu.vm or whatever we are doing these days.  Or am I
missing something?

-- 
*****************************************************
* Aaron M. Renn                                     *
* Email: [EMAIL PROTECTED]                      *
* Homepage: <URL:http://www.urbanophile.com/arenn/> *
*****************************************************

Reply via email to