[Mono-bugs] [Bug 80425][Nor] New - Issues when remoting Int64 based enums

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jan 2 10:49:20 EST 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by dominic_ullmann at hispeed.ch.

http://bugzilla.ximian.com/show_bug.cgi?id=80425

--- shadow/80425	2007-01-02 10:49:20.000000000 -0500
+++ shadow/80425.tmp.5575	2007-01-02 10:49:20.000000000 -0500
@@ -0,0 +1,57 @@
+Bug#: 80425
+Product: Mono: Class Libraries
+Version: 1.2
+OS: GNU/Linux [Other]
+OS Details: OpenSuse 10.2 (VMWare image Mono 1.2.2.1)
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: dominic_ullmann at hispeed.ch               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Issues when remoting Int64 based enums
+
+Description of Problem:
+When receiving an Int64 based enum value via remoting, the value of the 
+enum is incorrect.
+The value is also none of the legal enum values.
+
+The enum looks like this:
+
+The used interface method looks like this:
+
+Steps to reproduce the problem:
+Just compile and run the attached example.
+1. mcs /t:library TestServiceCommon.cs
+2. mcs /r:System.Runtime.Remoting.dll /r:TestServiceCommon.dll 
+TestServer.cs
+3. mcs /r:System.Runtime.Remoting.dll /r:TestServiceCommon.dll 
+TestClient.cs
+4. mono TestServer.exe
+5. mono TestClient.exe
+
+Actual Results:
+actual result: 585487747062431743
+expected result: AL
+expected result as int64: 9223372036854775807
+arg equals result : False
+
+Expected Results:
+The received value should be AL instead of 585487747062431743.
+
+The output when running on MS.NET
+actual result: AL
+expected result: AL
+expected result as int64: 9223372036854775807
+arg equals result : True
+
+
+How often does this happen? 
+always
+
+Additional Information:


More information about the mono-bugs mailing list