[javaflow] Non-transient non-serializable instance field in serializable class 
(Stack)
--------------------------------------------------------------------------------------

                 Key: SANDBOX-212
                 URL: https://issues.apache.org/jira/browse/SANDBOX-212
             Project: Commons Sandbox
          Issue Type: Bug
          Components: Javaflow
            Reporter: Philip May


The class Stack is serializable but has a non-transient non-serializable 
instance field.
The field is this:
protected Runnable runnable;

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.

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

Reply via email to