[Mono-list] Mono/Java interop - Usage scenarios
Joshua Tauberer
tauberer@for.net
Tue, 12 Nov 2002 08:10:21 -0500
Ben Hutchison wrote:
> 1. Transform Java bytecode to CIL
I started working on this in my free time in the last few days. I used
MS's JUMP to import the BCEL (jakarta.apache.org/bcel) library to .NET,
and I'm using that to convert arbitrary bytecode over to CIL. If it
ever gets done, it would be able to convert BCEL on its own and use
that, making the program no longer dependent on MS's .NET Java library.
So far, I've only had one significant problem in translating the
bytecode (the difference in instantiating objects in the two things).
And, it's a real pain to write wrappers for each field/method call to
java classes that can't be directly imported. But, that seams like
it'll eventually get done. Mainly I need to get a binary version of
CLASSPATH or another Java class library in Windows so I can import
things like GZIPInputStream from the bytecode, rather than writing a
wrapper for it (and writing a C# equivalent).
Comments, pointers?
--
- Joshua Tauberer
http://taubz.for.net
** Nothing Unreal Exists **