[forwarded from Joël]
Dear Sir, Dear Madam,
We are using JSX 2.2.3.8 (full version) and encountered problems with
recent Sun JRE (early revisions of 1.5 and 1.6 were OK). We have the
following testcase:
=====================================================================
import java.io.*;
import JSX.*;
public class test
{
enum E { X }
public static void main(String[] args)
{
try {
File f = new File("test.xml");
new ObjectWriter(new FileWriter(f)).writeObject(E.X);
new ObjectReader(new FileReader(f)).readObject();
} catch (Exception e)
{
e.printStackTrace();
}
}
}
=====================================================================
I have tried even with the latest JSX (trial version) 2.2.6.0, but I
always get:
java.io.InvalidObjectException: can't deserialize enum
Could you please forward this to the technical support, so we could have
some advice to solve or work around this problem ?
In advance, many thanks
Best Regards,
Joël Bourquard
--
The competent programmer is fully aware of the strictly limited size
of his own skull; therefore he approaches the programming task in full
humility, and among other things he avoids clever tricks like the
plague. - Dijkstra