> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Aaron
> M. Renn
> Sent: Tuesday, September 01, 1998 4:41 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Determining system properties
>
>
> 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?
>
(a) Putting them in a file is just fine--except for environmental variables.
(b) I'd rather the VM not have to call us. I'd rather call them once at the
beginning and get it overwith.
> --
> *****************************************************
> * Aaron M. Renn *
> * Email: [EMAIL PROTECTED] *
> * Homepage: <URL:http://www.urbanophile.com/arenn/> *
> *****************************************************
>
>