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...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

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: JSX and JDK 1.6.0   Message List  
Reply | Forward Message #2190 of 2204 |
[forwarded on behalf of Daniel]
Hi,

JSX stops us from upgrading from JDK 1.6.0_05 to JDK 1.6.0_07 and JDK 1.6.0_10.

When will you provide an upgrade of the jsx library? Can you suggest
a work-around for us until this upgrade is available?

The problem is that Sun has apperantly decided to disable default
serialization of Enum objects by adding the following code into
Enum.java JDK 1.6.0_07 and now also in JDK 1.6.0_10rc2:

/**
* prevent default deserialization
*/

private void readObject(ObjectInputStream in) throws IOException,
ClassNotFoundException {
throw new InvalidObjectException("can't deserialize enum");
}

private void readObjectNoData() throws ObjectStreamException {
throw new InvalidObjectException("can't deserialize enum");
}


Regards,
Daniel Marell
System Architect
Ericsson AB



Thu Oct 16, 2008 4:06 am

egroups_yow
Offline Offline
Send Email Send Email

Forward
Message #2190 of 2204 |
Expand Messages Author Sort by Date

[forwarded on behalf of Daniel] Hi, JSX stops us from upgrading from JDK 1.6.0_05 to JDK 1.6.0_07 and JDK 1.6.0_10. When will you provide an upgrade of the...
JSX Enterprises Sales
egroups_yow
Offline Send Email
Oct 16, 2008
4:06 am
Advanced

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