This is the mail archive of the firstname.lastname@example.org mailing list for the Kawa project. See the Kawa home page for more information.
I think the problem is that the record-functions (such as record-accessor) return Procedure objects (such as GetFieldProc) which implement Inlineable. These are inlined, which causes the generated bytecode to make a reference to the widget class (which is created for the "widget" type). However, the widget class is in a new ClassLoader, not the global loader. I have to think about how to fix this. I think we have to disable this inlining. A work-around might be: (define (widget-children w) ((record-accessor widget 'children) w)) instead of: (define widget-children ((record-accessor widget 'children))) --Per Bothner Cygnus Solutions email@example.com http://www.cygnus.com/~bothner