|
From: | David Gilbert |
Subject: | [commit-cp] [bugs #11837] Serialization: readResolve() not called |
Date: | Thu, 3 Feb 2005 10:46:08 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050127 Firefox/1.0 |
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11837> Summary: Serialization: readResolve() not called Project: classpath Submitted by: trebligd Submitted on: Thu 02/03/2005 at 10:46 Category: classpath Severity: 5 - Average Status: None Privacy: Public Assigned to: None Open/Closed: Open Platform Version: None _______________________________________________________ Details: If a Serializable class provides a readResolve() method, it should be called after an instance is deserialized. That doesn't appear to happen when I test with JamVM 1.2.4 and the latest Classpath CVS. I've attached a Mauve test case (plus supporting class) to demonstrate. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Thu 02/03/2005 at 10:46 Name: readResolve.java Size: 1.94KB By: trebligd Mauve test <http://savannah.gnu.org/bugs/download.php?item_id=11837&item_file_id=2149> _______________________________________________________ This item URL is: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11837> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |