Github user huafengw commented on the pull request:

    https://github.com/apache/incubator-gearpump/pull/20#issuecomment-219916439
  
    That's  overriding Java's default serialization implementation:
    
    ```
    There is, however, a strange yet crafty solution. By using a built-in 
feature of the serialization mechanism, developers can enhance the normal 
process by providing two methods inside their class files. Those methods are:
    
    private void writeObject(ObjectOutputStream out) throws IOException;
    private void readObject(ObjectInputStream in) throws IOException, 
ClassNotFoundException;
    ```
    
    From http://www.oracle.com/technetwork/articles/java/javaserial-1536170.html


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to