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-329) RamFileSystem is Serializable but its superclass doesn't define an accessible void constructor
Date Tue, 02 Nov 2010 19:22:25 GMT
RamFileSystem is Serializable but its superclass doesn't define an accessible void constructor
----------------------------------------------------------------------------------------------

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


Findbugs says:

{quote}
RamFileSystem is Serializable but its superclass doesn't define an accessible void constructor

This class implements the Serializable interface and its superclass does not. When such an
object is deserialized, the fields of the superclass need to be initialized by invoking the
void constructor of the superclass. Since the superclass does not have one, serialization
and deserialization will fail at runtime.
{quote}

Does the class need to be Serializable?

-- 
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