[jboss-jira] [JBoss JIRA] (JBJCA-711) ConnectionManager in violates Serializable contract
RH Bugzilla Integration (Commented) (JIRA)
jira-events at lists.jboss.org
Tue Dec 6 04:51:42 EST 2011
[ https://issues.jboss.org/browse/JBJCA-711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648300#comment-12648300 ]
RH Bugzilla Integration commented on JBJCA-711:
-----------------------------------------------
Karel Piwko <kpiwko at redhat.com> made a comment on [bug 760231|https://bugzilla.redhat.com/show_bug.cgi?id=760231]
Related issue
https://issues.jboss.org/browse/JBJCA-711
> ConnectionManager in violates Serializable contract
> ---------------------------------------------------
>
> Key: JBJCA-711
> URL: https://issues.jboss.org/browse/JBJCA-711
> Project: IronJacamar
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.5.Final
> Reporter: Karel Piwko
> Assignee: Jesper Pedersen
> Priority: Critical
>
> AbstractConnectionManager does not implement Serializable interface according to the specification.
> See following code:
> {code}
> /**
> * Write the object to the stream -- THIS IS NOT SUPPORTED
> * @param out The stream
> * @exception IOException Thrown in case of an error
> */
> private void writeObject(ObjectOutputStream out) throws IOException
> {
> throw new IOException(bundle.thisMethodNotSupported());
> }
> /**
> * Read the object from the stream -- THIS IS NOT SUPPORTED
> * @param in The stream
> * @exception IOException Thrown in case of an error
> * @exception ClassNotFoundException Thrown if a class can't be resolved
> */
> private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
> {
> throw new IOException(bundle.thisMethodNotSupported());
> }
> /**
> * Read the object -- THIS IS NOT SUPPORTED
> * @exception ObjectStreamException Thrown in case of an error
> */
> private void readObjectNoData() throws ObjectStreamException
> {
> throw new NotSerializableException(bundle.thisMethodNotSupported());
> }
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list