[Mono-bugs] [Bug 30175][Maj] New - mcs doesn't box valuetypes in some cases when compiling corlib
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
11 Sep 2002 11:37:11 -0000
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 lupus@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=30175
--- shadow/30175 Wed Sep 11 07:37:11 2002
+++ shadow/30175.tmp.16400 Wed Sep 11 07:37:11 2002
@@ -0,0 +1,23 @@
+Bug#: 30175
+Product: Mono/MCS
+Version: unspecified
+OS: other
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Major
+Component: Misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: lupus@ximian.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: mcs doesn't box valuetypes in some cases when compiling corlib
+
+In System.Text/Encoding.cs, line 336, the call to:
+Encoding enc = (Encoding)(InvokeI18N ("GetEncoding", codePage));
+is miscompiled (codePage is an int and Invoke18N takes a
+params object[] as second argument).
+codePage should get boxed before storing it in the array.