This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Hash-table unavailable in compiled classes?


OK, this may be my fault.  I had a look at what was going on and
realised the global language environment wasn't being initialised.
Adding 

    static {
       kawa.standard.Scheme.registerEnvironment();
    }

to my calling class and it's fine.

However a comment above registerEnvironment() suggests this should be
inserted automatically by the compiler.  Is this the case for compiled
modules, and if not is there the equivilent to the static initialiser
block for define-simple-class or should I just use a global
initialised flag?

Cheers,
Steve


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]