RE: [Jamvm-general] Re: jamvm + classpath CVS
Brought to you by:
rlougher
From: Jeroen F. <je...@su...> - 2004-12-09 14:51:15
|
Michael Koch wrote: > Am Donnerstag, 9. Dezember 2004 14:32 schrieb Robert Lougher: > > Hi Michael, > > > > By the time I downloaded classpath cvs and builit it, I didn't have > > long to work on this. I put in the native methods, and modified > > the VM classes. I'm now getting stuck in a recursive class > > initialisation dependency. I've not investigated it very far, but > > it appears that SystemProperties.<clinit> forces Runtime.<clinit>, > > which uses SystemProperties -- as it's being initialised, we return > > (step 3 of initialisation process), accessing properties, which is > > null (hence the NullPointerException). BTW, it ends up as a > > NoClassDefError because Runtime gets marked as bad. > > > > I'll have a look at it again tonight. Did you manage to get past > > this stage? I may post something onto the classpath list but I > > want to make sure I've not done anything stupid first :) >=20 > I hit the same problem. I thought it was me doing something=20 > stupd with the native methods. I think I concluded wrong. >=20 > I CC'ed Jeroen now as he wrote the patch. Perhaps he can say=20 > something=20 > about this. >=20 > Jeroen: I think we have a problem with initialization in GNU=20 > classpath. Can you tell us something about the above ? Can you figure out why SystemProperties is initializing Runtime? That doesn't happen for me (and it shouldn't happen). Regards, Jeroen |