[Mono-bugs] [Bug 643621] New: Allow objects to define custom serialization methods

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Oct 4 15:29:15 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=643621

https://bugzilla.novell.com/show_bug.cgi?id=643621#c0


           Summary: Allow objects to define custom serialization methods
    Classification: Mono
           Product: MonoDroid
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: mkestner at novell.com
        ReportedBy: gshackles at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.24 Safari/534.7

In Java, if you want a class to customize how it handles serialization you can
implement these two private methods:

    private void writeObject(java.io.ObjectOutputStream out)
    private void readObject(java.io.ObjectInputStream in)

However, MonoDroid doesn't generate method declarations for private methods so
there's no way to actually do this.

Reproducible: Always

Actual Results:  
You cannot define your own implementations for writeObject()/readObject()

Expected Results:  
You should be able to define your own implementations for
writeObject()/readObject()

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list