Re: [Sablevm-developer] More on bootstrapping
Brought to you by:
egagnon
From: John L. <je...@pi...> - 2001-09-21 15:37:59
|
> > If I understand it correctly, you're now hardcoding the separator in your Runtime file? > > The original Runtime file had a mix of hardcoded ':'s and > File.pathSeparatorChar. The use of File led to Runtime being re-entered > when it hadn't been statically initialised. To stop this I hardcoded the > pathSeparatorChar in Runtime.Runtime to ':'. I would like to use a > property to read the path seperator character but it's not obvious how > to without bootstrapping problems. One ugly solution would be to have a > native getPathSeperatorChar method. Anyhow, thoughts and comments > appreciated. Just checking. A native method might be a solution, it's not hard at all. You might find (later on), that reducing the depth of the call stack during initialization of the class libraries can ease debugging. (Which is why removing circular dependencies is a good thing). John Leuner |