[
https://issues.jboss.org/browse/JBJCA-711?page=com.atlassian.jira.plugin....
]
Jesper Pedersen resolved JBJCA-711.
-----------------------------------
Fix Version/s: 1.0.6.Final
1.1.0.Alpha5
Resolution: Done
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
Fix For: 1.0.6.Final, 1.1.0.Alpha5
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