[Ikvm-developers] ObjectOutputStream
Brought to you by:
jfrijters
|
From: Adam B. <ag...@gm...> - 2008-05-03 05:22:48
|
I am using weka (www.cs.waikato.ac.nz/ml/*weka*/) compiled with ikvmc from c#. I am having a problem with using java.io.ObjectOutputStream. When I try to use this to serialize a weka classifier object it seems to come out a bit mangled. The file is the same size as if serialized from native java and the java weka can load it fine. However it is obviously not the same object as, via c# or java, it gives completely different results when queried. The binary also differs somewhat from a java serialized equivalent. Is there as special way java serialization has to be done from ikvm? Thanks for your help, Adam |