# Wednesday, 07 August 2002
« No Title | Main | No Title »
No Title

I started work netexp. This is the tool that generates Java stubs for all public types in a .NET assembly, so that Java code can be compiled against .NET code (using any standard Java compiler). The VM understands the stubs and replaces any references to them with the actual .NET types.

It's still in its very early stages, but here is an example that already runs:

import system.*;
import system.reflection.*;
class test
{
  public static void main(String[] args)
  {
    Type type = Type.GetType("System.Object");
    ConstructorInfo ci = type.GetConstructor(
BindingFlags.Public | BindingFlags.Instance,
       null, Type.EmptyTypes, null);
    Console.WriteLine(ci);
  }
}

I updated the snapshot.

Wednesday, 07 August 2002 16:11:58 (W. Europe Daylight Time, UTC+02:00)  #    Comments [2]