Hi,

Jeroen Frijters <[EMAIL PROTECTED]> írta:

> Hi,
> 
> I tried running ikvm on Mono 0.20 (on Windows) and here
are my findings:
> 
> * The --noinline and --share-code switches are still
required, because
> otherwise Mono will run the .cctor methods to early (and,
by my reading,
> the Mono behavior is not allowed by the ECMA spec)
> 
> * StackFrame.GetFileName() returns "<unknown>" instead of
a null
> reference when the filename isn't known
> 
> * I get an assertion failed: ** ERROR **: file jit.c: line 486
> (mono_store_tree): assertion failed: (s->svt !=
VAL_UNKNOWN) aborting...
> 

Thats bug #38017. It will be fixed when the new JIT is
released. It is
triggered by this line in JavaTypeImpl.Finish():

ilGenerator.EmitCalli(OpCodes.Calli,
System.Runtime.InteropServices.CallingConvention.StdCall,
(retType.IsValueType || retType == typeof(void)) ? retType :
typeof(IntPtr), modargs);

It can be worked around if you put the (retType...
expression into
a temporary variable first. But mono 0.20 will not work
after this 
because of some reflection bugs triggered by the latest
changes in
IKVM. But I'm working on fixing them !

                              bye

                                 Zoltan







> * Running mint on ikvm.exe produces no output whatsoever
> 
> Regards,
> Jeroen
> 




_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to