Re: [Ikvm-developers] Critical Failure
Brought to you by:
jfrijters
|
From: Jeroen F. <je...@su...> - 2007-09-13 07:47:11
|
qna wrote: > I am trying to use IKVM and it seems ok, but after I try to execute my > code I have the following message: [...] > System.TypeLoadException: Der Typ > net.sf.cglib.beans.BulkBean$BulkBeanKey$$KeyFactoryByCGLIB$$e3d14a7d in > der Assembly ikvm_dynamic_assembly__20168437, > Version=3D2007.912.1502.5993, Culture=3Dneutral, PublicKeyToken=3Dnull > versucht, eine Schnittstelle zu implementieren, auf die nicht > zugegriffen werden kann. Ah yes, the Schnittstelle that can't be zugegriffen ;-) Coincidentally I just added support for creating proxies for non-public int= erfaces, so this particular scenario will now work on the new rc, but in ge= neral what cglib does is not really supported by IKVM. It uses reflection t= o call ClassLoader.defineClass() on a .NET assembly class loader. The .NET = runtime, unfortunately, doesn't support injecting new classes into an assem= bly, so this would be tricky to support fully. The new release candidate is available here: http://www.frijters.net/ikvmbin-0.36.0.1.zip Regards, Jeroen |