"John Keiser" <[EMAIL PROTECTED]> writes:
>
> I have two questions:
> 1. Are static initalizers being called? If so, when? Somehow
> System.getProperty() is being called before the System static initializer
> is. Is there some sort of bug here?
Static initializers should be getting called. There are some
subtleties involved with exactly what constitutes an "active use"
(which causes a static initializer to be invoked) but that shouldn't
be tripping you up here.
The calling of System.getProperty should trigger the calling of the
static initializer.
> 2. Where in the Japhar code are the static initializers being called? I
> just need a function name or something. I want to be able to add that into
> the custom logging I am developing, so that I can see the flow of the code.
look in the initialize_class/initialize_class_recurse code in
objects.c. The function you want is call_initializers.
xtoph