commit-classpath
[Top][All Lists]
Advanced

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

[commit-cp] [bugs #11228] ObjectInputStream readFields problem


From: Davanum Srinivas
Subject: [commit-cp] [bugs #11228] ObjectInputStream readFields problem
Date: Mon, 06 Dec 2004 20:58:53 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a6) Gecko/20041129 Firefox/0.9.1+

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




/**************************************************************************/
[bugs #11228] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11228>
Project: classpath
Submitted by: Davanum Srinivas
On: Mon 12/06/2004 at 13:13

Category:  classpath
Severity:  5 - Average
Resolution:  None
Privacy:  Public
Assigned to:  None
Status:  Open
Platform Version:  None


Summary:  ObjectInputStream readFields problem

Original Submission:  Original stack trace with IKVM:
cli.System.ArgumentException: Object type can not be converted to target type.
at cli.System.RuntimeType.CheckValue (Unknown Source)
at cli.System.Reflection.RtFieldInfo.InternalSetValue (Unknown Source)
at cli.System.Reflection.RtFieldInfo.SetValue (Unknown Source)
at cli.FieldWrapper.SetValue (Unknown Source)
at cli.IKVM.NativeCode.java.io.VMObjectStreamClass.setObjectNative (Unknown 
Source)
at java.io.ObjectInputStream.readFields (ObjectInputStream.java:1732)
at java.io.ObjectInputStream.readObject (ObjectInputStream.java:330)
at java.io.ObjectInputStream.readFields (ObjectInputStream.java:1723)
at java.io.ObjectInputStream.readObject (ObjectInputStream.java:333)
at test.message.TestMessageSerialization.test1 
(TestMessageSerialization.java:53)
at java.lang.reflect.Method.invoke (Method.java:344)

Patch from Jeroen posted on IKVM dev mailing list:
http://sourceforge.net/mailarchive/forum.php?thread_id=6100559&forum_id=13102

See attached file with diff.txt patch.





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

-------------------------------------------------------
Date: Mon 12/06/2004 at 13:13  Name: objectinputstream.patch  Size: 871B   By: 
dims
Patch/Diff
http://savannah.gnu.org/bugs/download.php?item_id=11228&amp;item_file_id=1949






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

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







reply via email to

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