commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch #3195] Re-throw ClassNotFoundException when reading objects


From: Casey Marshall
Subject: [patch #3195] Re-throw ClassNotFoundException when reading objects
Date: Tue, 06 Jul 2004 22:42:51 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6; No time for love, Dr. Jones) Gecko/20040701

This mail is an automated notification from the patch tracker
 of the project: classpath.




/**************************************************************************/
[patch #3195] Full Item Snapshot:

URL: <http://savannah.gnu.org/patch/?func=detailitem&item_id=3195>
Project: classpath
Submitted by: Casey Marshall
On: Wed 07/07/2004 at 02:39

Category:  None
Priority:  1 - Later
Resolution:  None
Assigned to:  None
Originator Email:  
Status:  Open


Summary:  Re-throw ClassNotFoundException when reading objects

Original Submission:  This patch causes the private method `callReadMethod' of 
`java.io.ObjectInputStream' to re-throw a ClassNotFoundException if thrown by 
the method called via Method.invoke.

This makes debugging of serialization easier in the case of nested serialized 
objects, as the former behavior would not include the name of the class that 
couldn't be found in the exception message. This is also more consistent with 
the behavior of Sun's reference implementation.





File Attachments
-------------------

-------------------------------------------------------
Date: Wed 07/07/2004 at 02:40  Name: ois.ChangeLog  Size: 130B   By: rsdio

http://savannah.gnu.org/patch/download.php?item_id=3195&amp;item_file_id=3448

-------------------------------------------------------
Date: Wed 07/07/2004 at 02:39  Name: ois.patch  Size: 1.07KB   By: rsdio

http://savannah.gnu.org/patch/download.php?item_id=3195&amp;item_file_id=3447






For detailed info, follow this link:
<http://savannah.gnu.org/patch/?func=detailitem&item_id=3195>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/







reply via email to

[Prev in Thread] Current Thread [Next in Thread]