RE: [Ikvm-developers] [Using Eclipse3.1M1 ] eclipse bug triggered (FYI)
Brought to you by:
jfrijters
|
From: Jeroen F. <je...@su...> - 2004-09-09 11:59:19
|
David Jung wrote: > Looks like eclipse has a bug in their startup code. > the org.eclipse.platform plugin class org.eclipse.core.launcher.Main, > getInstallLocation() method does this: >=20 > URL result =3D=20 > Main.class.getProtectionDomain().getCodeSource().getLocation(); >=20 > But under ikvmc'd code, getCodeSource() returns null - which=20 > according to Sun's JDK docs is allowed (apparenty under any > circumstances as they don't specify when or not). >=20 > I've reported it to eclipse, but I thought any differences=20 > between Sun's java behaviour and ikvm would be useful to know. Thanks. This is a know issue caused by the fact that (currently) ikvmc'ed code doesn't have a class loader associated with it. It's on my TODO list to fix this. I really would like to see a statically compiled version of Eclipse, but realistically I think this is going to be a major effort (you'd first have to get to know the Eclipse's plug-in architecture and then modify that to load .NET assemblies instead of using Java class loaders). Regards, Jeroen |