Search the web
Sign In
New User? Sign Up
JSX-ideas · Ideas on Java Serialization for XML
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Fwd: Question about JSX   Message List  
Reply | Forward Message #2191 of 2200 |
[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



Thu Oct 16, 2008 4:08 am

egroups_yow
Offline Offline
Send Email Send Email

Forward
Message #2191 of 2200 |
Expand Messages Author Sort by Date

[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...
JSX Enterprises Sales
egroups_yow
Offline Send Email
Oct 16, 2008
4:08 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help