classpath
[Top][All Lists]
Advanced

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

classpath initialization


From: Joseph Wenninger
Subject: classpath initialization
Date: Tue, 14 Oct 2003 21:33:57 +0200

Hi

I'm trying to use an unmodified classpath (0.06). I already have
something working with a modified one.

My problem is that the call stack during initialization of the System
class I looks something like 

LOG:  called: java/lang/System.<clinit>()V()
LOG:   called:
java/lang/System.loadLibrary(Ljava/lang/String;)V(405c8488)
LOG:     called: java/lang/Runtime.getRuntime()Ljava/lang/Runtime;()
LOG:     finished:
java/lang/Runtime.getRuntime()Ljava/lang/Runtime;->0x8420fd8
LOG:     called:
java/lang/Runtime.loadLibrary(Ljava/lang/String;)V(8420fd8, 405c8488)
LOG:     called:
java/lang/VMSecurityManager.currentClassLoader()Ljava/lang/ClassLoader;()
LOG:     called: java/lang/ClassLoader.<clinit>()V()
LOG: compiler_addinitclass: java/lang/VMClassLoader
LOG:     called:
java/lang/VMClassLoader.getSystemClassLoader()Ljava/lang/ClassLoader;()
LOG:     called:
java/lang/System.getProperty(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;(405cb500,
 405cb578)
()V<i

The last line causes an exception, since the static member properties
isn't initialized yet. Did anybody else encounter such a problem ? I'm
not sure if that it is a vm bug or a compiler problem or something that
I miss

Kind regards
Joseph Wenninger





reply via email to

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