[Mono-bugs] [Bug 58283][Maj] New - Solaris JIT handling wrong negative integers type conversions ?
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Mon, 10 May 2004 12:00:53 -0400 (EDT)
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 gkodinov@openlinksw.co.uk.
http://bugzilla.ximian.com/show_bug.cgi?id=58283
--- shadow/58283 2004-05-10 12:00:53.000000000 -0400
+++ shadow/58283.tmp.2864 2004-05-10 12:00:53.000000000 -0400
@@ -0,0 +1,31 @@
+Bug#: 58283
+Product: Mono: Runtime
+Version: unspecified
+OS: Solaris 8
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Major
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: gkodinov@openlinksw.co.uk
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Summary: Solaris JIT handling wrong negative integers type conversions ?
+
+Find attached a program witch does simularly to what the Calendard ASPX
+control does. Run the attached program.
+
+On Solaris I get :
+
+$ mono gogo.exe
+
+Unhandled Exception: System.OverflowException: Resulting timespan is too big.
+in <0x002a4> System.TimeSpan:FromMilliseconds (double)
+in <0x00060> System.TimeSpan:FromDays (double)
+in <0x00038> System.Globalization.Calendar:AddDays (System.DateTime,int)
+in <0x000f4> gogo:Main (string[])
+
+On Linux the same example throws no exception.