[Mono-list] Mono doesn't seem to like JSharp code in MSIL form. -> BANG

Christian.Buchner Christian.Buchner1@epost.de
Sun, 16 Feb 2003 02:39:33 -0800


> No, we support resources just fine. The issue was with the alignment
> of the metadata inside the file. The fix is already in cvs.

Okay, cool. I checked out the sourcecode and recompiled the Mono runtime.

Now it appears to load my own J# compiled assembly just fine.
The example is a simple J# application, performing only a simple

  System.out.println("Hello World!\n");


However Microsoft's assemblies (vjs*.dll) won't load still. *sigh*

02/16/2003  02:28a      <DIR>          .
02/16/2003  02:28a      <DIR>          ..
02/16/2003  02:28a              20,480 JSHello.exe
02/16/2003  02:28a              11,776 JSHello.pdb
02/16/2003  02:01a               7,680 vjscor.dll
02/16/2003  02:01a           3,796,992 vjslib.dll
02/16/2003  02:01a              32,768 vjslibcw.dll

D:\dev\JSHello\bin\Debug>mono JSHello.exe
** Message: Unknown heap type: #-

Unhandled Exception: System.NullReferenceException: A null value was found where
 an object instance was required

I find it interesting that there is no indication where this exception
occured. Also I think the Unknown Heap Type message should print which
assembly it tried to load and at what position in the file this error 
occured.