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: Jeroen Frijters
Subject: [commit-cp] [bugs #11228] ObjectInputStream readFields problem
Date: Tue, 07 Dec 2004 04:02:24 -0500
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 1.2.30703; .NET CLR 2.0.40607)

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

/**************************************************************************/
[bugs #11228] Latest Modifications:

Changes by: 
                Jeroen Frijters <address@hidden>
'Date: 
                Tue 12/07/2004 at 08:51 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
              Status | Open                      | Closed







/**************************************************************************/
[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:  Fixed
Privacy:  Public
Assigned to:  None
Status:  Closed
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]