# Tuesday, June 2, 2009
« .NET 4.0 -- System.Runtime.CompilerServi... | Main | IKVM 0.40 Released »
New Development Snapshot

Class gc support has now been checked in (but is not available in the attached binaries, because they've been built for .NET 2.0). This is somewhat of a milestone snapshot, because it is the first version that no longer requires GNU Classpath to build*. However, please note that AWT / Swing still needs a lot of work.

*What this means is that there is no longer an external dependency on GNU Classpath. There is still GNU Classpath derived code in ikvm's source tree. For example, small parts of AWT and the pure Java  implementation of java.util.zip.


  • Removed dependency on classpath-0.95-stripped.zip. All AWT / Swing code is now from OpenJDK or in the ikvm codebase.
  • Defined NET_4_0 when building on .NET 4.0 to enable conditional code.
  • Changed IKVM.Reflection.Emit's ModuleBuilder and AssemblyBuilder to extends Module and Assembly respectively when building on .NET 4.0.
  • Added .NET 4.0 fix to IKVM.Reflection.Emit (for the fact that Type now defines == operator).
  • Fixed locking for image based Graphics.
  • Various changes to remove warnings when building on .NET 4.0.
  • Several fixes related to dynamic assemblies.
  • Several improvements to better work in partial trust.
  • More AWT work.
  • Made java.lang.reflect.Field exception messages the same as JDK 6.
  • Implemented class gc (for .NET 4.0 builds).
  • Added -Xnoclassgc option to ikvm (only meaningful in a .NET 4.0 build).

Binaries available here: ikvmbin-0.41.3440.zip.

Tuesday, June 2, 2009 10:49:01 AM (W. Europe Daylight Time, UTC+02:00)  #    Comments [4]
Tuesday, June 2, 2009 7:21:07 PM (W. Europe Daylight Time, UTC+02:00)
Great work. Will hopefully get time to check it out shortly...
Mads Tandrup
Wednesday, June 3, 2009 2:34:19 AM (W. Europe Daylight Time, UTC+02:00)

I know you said that you aren't interested in supporting AWT, and I respect that. However as someone who has previously committed to mono (monodevelop in the early days and some MWF stuff), I was wondering how hard/easy it would be to get enough AWT integration from the open JDK to get jedit to run ontop of IKVM.

I really love jEdit as my all-purpose text editor, but that java runtime start up is really starting to get on my nerves. I also noticed that there is already some AWT support in IKVM and was hoping it was enough to do jEdit already.

Do you know if this is true, or if anyone else has been able to get jEdit to work on IKVM?

Wednesday, June 3, 2009 9:11:14 AM (W. Europe Daylight Time, UTC+02:00)
We (and by we I mean Volker Berlin) are working on AWT / Swing support for the next version (with a WinForms back end). So stay tuned.
Thursday, June 4, 2009 3:47:01 AM (W. Europe Daylight Time, UTC+02:00)

That's fantastic news. In the interest of expectation management I trawled your site for a road map and couldn't find any. Any ball park figures on what "next release" means?


Home page

I apologize for the lameness of this, but the comment spam was driving me nuts. In order to be able to post a comment, you need to answer a simple question. Hopefully this question is easy enough not to annoy serious commenters, but hard enough to keep the spammers away.

Anti-Spam Question: What method on java.lang.System returns an object's original hashcode (i.e. the one that would be returned by java.lang.Object.hashCode() if it wasn't overridden)? (case is significant)

Comment (HTML not allowed)  

Live Comment Preview