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

Pablo Baena pbaena@uol.com.ar
15 Feb 2003 11:25:52 +0000


--=-XImdNjdiGsj2OD8Lczw/
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Hello!

Do you have experience with J#? I downloaded it but it doesn't work with
my version of Visual Studio .NET. I was wondering, does J# support
delegates? If so, old code can interact with them? i.e.: passing a
delegate to a event listener.

Just wondering.

Thank you!


On Sat, 2003-02-15 at 06:50, Christian.Buchner wrote:

> Hi.
> 
> I just experimented running an assembly created with Microsoft Visual J#
> with the Mono JIT. Microsoft Visual J# produces MSIL from Java source,
> targeting the runtime (and it's a FREE addon to Visual Studio!). My hope
> was that I could replace a broken C# class with with a version Java that
> has less bugs. ;)
> 
> The bad news:
> 
> Mono virtually "exploded". I do know that some stuff regarding metadata
> in assemblies is not yet implemented. But the following looks like a serious
> parsing problem that ends up reporting weird binary stuff with the potential
> to even crash (or create buffer overflows).
> 
> D:\dev\JSBZip2>mono bin\debug\JSBZip2.exe ..\LogTest\windowsmedia_20030131.bz2
> ** Message: Unknown heap type:
> ** Message: Unknown heap type: trings
> ** Message: Unknown heap type:
> ** Message: Unknown heap type:
> ** Message: Unknown heap type:
> ** Message: Unknown heap type: lob
> ...
> ** Message: [Invalid UTF-8] Unknown heap type: ??¶?????(?1?<?T?Y?^?c?h??Ç
> 
> There's plenty of binary characters being reported in the Unknown
> Heap Type messages as well.
> 
> I can provide a full ILDASM /ALL dump of that assembly on request.
> 
> Christian
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list

-- 
Pablo Baena <pbaena@uol.com.ar>

--=-XImdNjdiGsj2OD8Lczw/
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/1.1.7">
</HEAD>
<BODY>
Hello!<BR>
<BR>
Do you have experience with J#? I downloaded it but it doesn't work with my version of Visual Studio .NET. I was wondering, does J# support delegates? If so, old code can interact with them? i.e.: passing a delegate to a event listener.<BR>
<BR>
Just wondering.<BR>
<BR>
Thank you!<BR>
<BR>
<BR>
On Sat, 2003-02-15 at 06:50, Christian.Buchner wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373" SIZE="3"><I>Hi.

I just experimented running an assembly created with Microsoft Visual J#
with the Mono JIT. Microsoft Visual J# produces MSIL from Java source,
targeting the runtime (and it's a FREE addon to Visual Studio!). My hope
was that I could replace a broken C# class with with a version Java that
has less bugs. ;)

The bad news:

Mono virtually &quot;exploded&quot;. I do know that some stuff regarding metadata
in assemblies is not yet implemented. But the following looks like a serious
parsing problem that ends up reporting weird binary stuff with the potential
to even crash (or create buffer overflows).

D:\dev\JSBZip2&gt;mono bin\debug\JSBZip2.exe ..\LogTest\windowsmedia_20030131.bz2
** Message: Unknown heap type:
** Message: Unknown heap type: trings
** Message: Unknown heap type:
** Message: Unknown heap type:
** Message: Unknown heap type:
** Message: Unknown heap type: lob
...
** Message: [Invalid UTF-8] Unknown heap type: ??&#182;?????(?1?&lt;?T?Y?^?c?h??&#199;

There's plenty of binary characters being reported in the Unknown
Heap Type messages as well.

I can provide a full ILDASM /ALL dump of that assembly on request.

Christian

_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com</FONT>
<A HREF="http://lists.ximian.com/mailman/listinfo/mono-list"><FONT SIZE="3">http://lists.ximian.com/mailman/listinfo/mono-list</I></FONT></A></PRE>
</BLOCKQUOTE>
<PRE><TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
-- <BR>
Pablo Baena &lt;<A HREF="mailto:pbaena@uol.com.ar">pbaena@uol.com.ar</A>&gt;
</TD>
</TR>
</TABLE>
</PRE>
</BODY>
</HTML>

--=-XImdNjdiGsj2OD8Lczw/--