classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: java.lang.System changes


From: Archie Cobbs
Subject: Re: java.lang.System changes
Date: Wed, 10 Nov 2004 19:03:17 -0600 (CST)

Steven Augart wrote:
> Classpath's java.lang.System was changed yesterday so that
> initializing that class now depends upon
> VMClassLoader.getSystemClassLoader() being able to return a working
> class loader.
> 
> Unfortunately, Jikes RVM's system class loader is based upon
> Classpath's java.lang.URLClassLoader.  java.lang.URLClassLoader
> requires java.lang.URL to be initialized.  And java.lang.URL, in
> *its* initialization, makes a call to
> java.lang.System.getProperty().   Which needs java.lang.System to be
> initialized. 

Just curious.. what is the actual problem you're seeing? It looks like
VMClassLoader.getSystemClassLoader() is invoked after System.properties
is created, so System.getProperty() should work when URL uses it.. ?
I haven't actually tried this so I'm likely just missing something.

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]