Archie Cobbs wrote: > Jeroen Frijters wrote: > > I would like to apply the attached patch. It fixes a potential > > initialization order issue for VMs that support running Java code > > without first initializing the VM explicitly (like IKVM does). > > Dumb questions: why don't you initialize the VM in JNI_CreateJavaVM()? > What is gained by deferring initialization?
In IKVM you can use statically compiled Java code from any another .NET language without ever knowing or caring that it was Java code, so there is no obvious place to call any initialize method. Regards, Jeroen
