RE: [Ikvm-developers] Changing the external signature of a Java class?
Brought to you by:
jfrijters
|
From: Jeroen F. <je...@su...> - 2004-03-24 13:29:48
|
Matthew Mastracci wrote: > Would it be possible to change to external signature of an=20 > IKVM-compiled Java class? It would be possible, but I'm skeptical of the benefits of such an approach. While the API would superficially look a little more like a .NET API, it still wouldn't be (e.g. the disposable types wouldn't implement IDisposable). You would also have to rewrite/convert all the API documentation. Also, I don't really want to add non-crucial functionality to the core. If you really wanted to pursue this avenue, a possibility would be to actually modify the .NET assembly in a post-processing step. For example, ildasm the assembly, do some text processing and ilasm it again. Or alternatively, use a managed PE reading/writing library such as PEAPI to post-process the assembly. Regards, Jeroen |