commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Created: (VFS-330) RamFileData defines non-transient non-serializable instance field type
Date Tue, 02 Nov 2010 19:28:25 GMT
RamFileData defines non-transient non-serializable instance field type
----------------------------------------------------------------------

                 Key: VFS-330
                 URL: https://issues.apache.org/jira/browse/VFS-330
             Project: Commons VFS
          Issue Type: Bug
            Reporter: Sebb


Findbugs says:

{quote}
RamFileData defines non-transient non-serializable instance field type

This Serializable class defines a non-primitive instance field which is neither transient,
Serializable, or java.lang.Object, and does not appear to implement the Externalizable interface
or the readObject() and writeObject() methods.  Objects of this class will not be deserialized
correctly if a non-Serializable object is stored in this field.
{quote}

Does the class need to be serializable?
If so, then should add some tests to check that it is.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message