[Mono-bugs] [Bug 71300][Min] Changed -
TestGetConstructorNullElementType
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Thu Jun 2 12:33:54 EDT 2005
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 gonzalo at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=71300
--- shadow/71300 2005-05-28 16:45:31.000000000 -0400
+++ shadow/71300.tmp.12231 2005-06-02 12:33:54.000000000 -0400
@@ -1,13 +1,13 @@
Bug#: 71300
Product: Mono: Class Libraries
Version: unspecified
OS: unknown
OS Details:
-Status: RESOLVED
-Resolution: FIXED
+Status: REOPENED
+Resolution:
Severity: Unknown
Priority: Minor
Component: CORLIB
AssignedTo: mono-bugs at ximian.com
ReportedBy: miguel at ximian.com
QAContact: mono-bugs at ximian.com
@@ -71,6 +71,40 @@
}
}
}
------- Additional Comments From bmaurer at users.sf.net 2005-05-28 16:45 -------
Fixed in svn.
+
+------- Additional Comments From gonzalo at ximian.com 2005-06-02 12:33 -------
+The "fix" for the bug in r45150 is totally wrong and, apart from
+breaking SSL support in System.Net, it also breaks this, that works
+under MS (outputs KK x = 0\nQQ x = false on MS):
+--------------
+using System;
+
+class KK {
+ public KK (int x)
+ {
+ Console.WriteLine ("KK x = " + x);
+ }
+}
+
+class QQ {
+ public QQ (bool x)
+ {
+ Console.WriteLine ("QQ x = " + x);
+ }
+}
+
+class Test {
+ static void Main ()
+ {
+ Type t = typeof (KK);
+ object o = Activator.CreateInstance (t, new object [] { null });
+ t = typeof (QQ);
+ o = Activator.CreateInstance (t, new object [] { null });
+ }
+}
+--------------------
+
+I'm reverting r45150 and adding a test case with this sample.
More information about the mono-bugs
mailing list