The attached code works in mono but fails in mint. Seems that mint can't cast from Object[] to Array.
Is this a bug? Is there much interest in fixing bugs in the interpreter now that mini is working? I am interested in the interpreter because I am working on some optimisations that are better suited (at the moment anyway) to it. They involve runtime aggregation of remoting calls. In the end, what I plan to do is, from with the JIT, select certain methods and run them through my optimising interpreter. It looks like switching from JIT to interp at runtime is possible since they share most data structures. Has anyone else tried to do thie before? -- sam clegg :: [EMAIL PROTECTED] :: http://superduper.net/ :: PGP : D91EE369 $superduper: .signature,v 1.13 2003/06/17 10:29:24 sam Exp $
using System; using System.Collections; public class CastTest { public static int Main (string[] args) { object[] my_array = new object[2]; Array array = (Array) my_array.Clone(); Console.WriteLine ("Got Clone"); return 0; } }
pgp00000.pgp
Description: PGP signature