Re: [Ikvm-developers] Evading NoClassDefFoundError
Brought to you by:
jfrijters
From: Jeroen F. <je...@su...> - 2007-07-31 06:18:42
|
Andr=E9s G. Aragoneses [ knocte ] wrote: > Jeroen Frijters escribi=F3: > > Andr=E9s G. Aragoneses [ knocte ] wrote: > >> I guess Jose Ramon is not asking for IKVM to generate stub classes > or > >> API-compliant (but empty implementation) references but, could IKVM > >> generate an IL identical as if the reference was found (of course, > if > >> someone runs that IL, it will crash, but the purpose of this > >> incomplete IL is to be analyzed, not to be run). > > > > AFAIK that's not possible with Reflection.Emit. > > Can it be done by Cecil? I see that I can examine an .exe with Cecil > even if it depends on some dll files that are not found. Yes, but it stil wouldn't make sense for IKVM. > >> Then, could it be possible for ikvm to have that option? If yes, it > >> would be great if you could give us some hints for contributing it. > > > > I don't see what advantage that would offer to IKVM. > > Performance? No need to parse the references in case we already have > converted them to IL before. You need to know in which assembly a type lives, you can't just go make up = random assembly identities. Unlike Java, where a class name is all you need= , in .NET a type's identity consists of its name and the assembly identity. Regards, Jeroen |