DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32785>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32785





------- Additional Comments From [EMAIL PROTECTED]  2005-11-28 02:48 -------
Created an attachment (id=17057)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=17057&action=view)
Patch to make DiskFileItem Serializable

I'm attaching a patch that makes DiskFileItem serializable. It works by making
the DeferredFileOutputStream transient and storing the file contents in a cache
during serialization and then re-writing them back out (if not in memory) to a
new file during de-serialization. Its not ideal, but maybe better than not
being serializabe.

I also included a slight change to ensure cachedData is always used if exists.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to