Updated: 3/13/2003; 2:19:46 PM.
IKVM.NET Weblog
The development of a Java VM for .NET
        

Wednesday, June 26, 2002
This weblog has moved to http://weblog.ikvm.net/

Milestone! I just managed to JIT the entire transitive closure of classes required to run Hello World (304 classes).

It doesn't run yet, because I don't have the required classpath native methods yet and the resulting exe (708KB) contains tons of verification errors, but this is definitely an exciting step.

I had to make a few minor changes to the classpath source:

  • removed java/lang/CharSequence interface from java/lang/String and added workarounds to make it compile after this

  • removed equals() and hashCode() from java/util/Collection

  • removed equals() from java/util/Comparator

The equals() and hashCode() methods in interfaces don't really do anything, but at the moment I cannot handle them. It would be trivial to add code to handle them, but I don't want to hardcode that kind of stuff, all method remapping should be based on the XML file that defines the remappings.

Download here.


5:48:04 PM    Comments

© Copyright 2003 Jeroen Frijters.
 
June 2002
Sun Mon Tue Wed Thu Fri Sat
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            
May   Jul