# Wednesday, 04 November 2009
« MS09-061 Vulnerability Details | Main | Going Crazy with Generics, or The Story ... »
New Development Snapshot

While the 0.42 release is still baking, a new development snapshot is available.

Changes:

  • Nat worked on clipboard and drag-and-drop support.
  • Volker worked on print support.
  • Various awt fixes/improvements.
  • Code cleanup/refactoring to prepare for IKVM.Reflection (replacement of IKVM.Reflection.Emit).
  • Fixed ikvmstub to ignore private interfaces.
  • Removed .NET 4.0 beta 1 workarounds.
  • Simplified the obj1.getClass() == obj2.getClass() intrinsic to avoid requiring full trust on .NET 4.0.
  • Optimized field reflection. We now delay creating the dynamic methods to access the field until after the field has been accessed a couple of times, this saves a lot of memory for fields that are only usused a few times.
  • Added -publicpackage:<pkg> option to ikvmc. Contributed by Eyal Alaluf of Mainsoft.
  • Added public API to get ClassLoader from Assembly.
  • Added (optional) per-module initialization to custom assembly class loaders.
  • Added ikvmc option -nopeercrossreference and the ability to use -r with peer assemblies.

Binaries available here: ikvmbin-0.43.3595.zip

Wednesday, 04 November 2009 15:23:41 (W. Europe Standard Time, UTC+01:00)  #    Comments [5]
Thursday, 19 November 2009 03:55:03 (W. Europe Standard Time, UTC+01:00)
Hello Jeroen,

I am so glad to see IKVM moving forward.

We are migrating to release IKVM 0.40 from 0.38. In the new release we no longer have access to .NET platform classes using java.lang.Class.getClassloader(). For example, in 0.38 we used the following:

Class.forName ("cli.System.Type")

How do we get access to Java classloader capable of loading .NET system types?

Thanks,
Andy
Andy Malakov
Thursday, 19 November 2009 04:03:16 (W. Europe Standard Time, UTC+01:00)
Update: Adding "classloader:ikvm.runtime.AppDomainAssemblyClassLoader" fixes the problem. Looks default classloader in 0.40 is different. --Andy
Andy Malakov
Saturday, 21 November 2009 07:09:53 (W. Europe Standard Time, UTC+01:00)
Hello Jeroen,
I try use IKVM 0.43 on VS.2005
the java code follow
Class clazz = Class.forName(className, true,Thread.currentThread().getContextClassLoader());
Object object = clazz.newInstance();
Method m = clazz.getMethod(method,null);
String out = null;
try {
out = (String)m.invoke(object,null);
} catch (Exception e) {

e.printStackTrace();
}
return out;
when i debug on VS.2005 ,it show meassage:
“Void System.Reflection.Emit.DynamicMethod..ctor(System.String, System.Type, System.Type[], Boolean)”
please tell me cause
thanks,
Yang
Yang
Saturday, 21 November 2009 14:40:04 (W. Europe Standard Time, UTC+01:00)
Hello Yang,

That probably means that you don't have .NET 2.0 SP1 installed. A while ago I stopped supporting .NET 2.0 without SP1, but SP2 has also been out for a while and is really recommended.

Regards,
Jeroen
Sunday, 22 November 2009 08:06:42 (W. Europe Standard Time, UTC+01:00)
Hello Jeroen,
Issues have been,thank you very much!
Please forgive my not carefully.
But I have a suggestion,can explain the need for each version of IKVM of Java and. NET environment, I may not be found in the guide book

Once again,thank
Regards,
Yang
Yang
Name
E-mail
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)

Answer:  
Comment (HTML not allowed)  

Live Comment Preview