dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [DotGNU]Testing of ILASM:


From: Jeroen Frijters
Subject: RE: [DotGNU]Testing of ILASM:
Date: Fri, 3 Jan 2003 17:42:41 +0100

Gopal V wrote:
> If memory serves me right, Jeroen Frijters wrote:
> > I use it to compile Java code that calls .NET framework method. When
> > IKVM.NET loads a class from mscorlib.jar it notices that it 
> is just a stub
> > for a .NET type and redirects all access to the .NET type.
> 
> So do you use a .NET type in there as well for each class in 
> Java subset ?.

Not sure what you mean, but I compile all Java types into .NET types (on the
fly, using Reflection.Emit in combination with the AppDomain.TypeResolve
event).

> (otherwise stuff like the String.indexOf and substring will 
> be incompat ?)

Some Java classes are not compiled to .NET types, but are instead remapped
to existing .NET types. The most important ones are:
- java.lang.Object -> System.Object
- java.lang.String -> System.String
- java.lang.Throwable -> System.Exception

Regards,
Jeroen
http://ikvm.net -- Java VM for .NET



reply via email to

[Prev in Thread] Current Thread [Next in Thread]