[jboss-jira] [JBoss JIRA] Commented: (JBSER-102) Some instances of java.lang.Class are considered non-Serializable
David Lloyd (JIRA)
jira-events at lists.jboss.org
Tue Dec 18 16:46:28 EST 2007
[ http://jira.jboss.com/jira/browse/JBSER-102?page=comments#action_12392777 ]
David Lloyd commented on JBSER-102:
-----------------------------------
The class I ran into with this problem was "Void.class":
org.jboss.cx.remoting.RemotingException: Failed to send a service request: java.io.NotSerializableException: java.lang.Void
> Some instances of java.lang.Class are considered non-Serializable
> -----------------------------------------------------------------
>
> Key: JBSER-102
> URL: http://jira.jboss.com/jira/browse/JBSER-102
> Project: JBoss Serialization
> Issue Type: Bug
> Reporter: David Lloyd
> Assigned To: Clebert Suconic
>
> JBoss Serialization looks at whether *instances* of the Class are serializable, rather than seeing that Class itself implements Serializable. So, if you serialize a Class that refers to a type that is non-serializable, and you have the serializable check enabled, it fails.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list