mail-archives/mono-bugs/2003-July/006035.html

110 строки
4.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 45649][Nor] Changed - &quot;sealed&quot; attribute on classes not enforced
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:bugzilla-daemon%40rocky.ximian.com">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="006034.html">
<LINK REL="Next" HREF="006036.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 45649][Nor] Changed - &quot;sealed&quot; attribute on classes not enforced
</H1>
<B>bugzilla-daemon@rocky.ximian.com
</B>
<A HREF="mailto:bugzilla-daemon%40rocky.ximian.com"
TITLE="[Mono-bugs] [Bug 45649][Nor] Changed - &quot;sealed&quot; attribute on classes not enforced">bugzilla-daemon@rocky.ximian.com
</A><BR>
<I>Mon, 30 Jun 2003 19:59:21 -0400 (EDT)</I>
<P><UL>
<LI> Previous message: <A HREF="006034.html">[Mono-bugs] [Bug 45659][Blo] Changed - XSP : &lt;asp:button/&gt; executes code but redirects to an invalid page
</A></li>
<LI> Next message: <A HREF="006036.html">[Mono-bugs] [Bug 45651][Min] Changed - System.Net.WebClient : QueryString property keys/data are invalidly escaped
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6035">[ date ]</a>
<a href="thread.html#6035">[ thread ]</a>
<a href="subject.html#6035">[ subject ]</a>
<a href="author.html#6035">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>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 <A HREF="mailto:bmaurer@users.sf.net.">bmaurer@users.sf.net.</A>
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=45649">http://bugzilla.ximian.com/show_bug.cgi?id=45649</A>
--- shadow/45649 Mon Jun 30 15:37:25 2003
+++ shadow/45649.tmp.15837 Mon Jun 30 19:59:21 2003
@@ -1,14 +1,14 @@
Bug#: 45649
Product: Mono/MCS
Version: unspecified
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Normal
Component: Misc
AssignedTo: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
ReportedBy: <A HREF="mailto:sebastian.nowozin@web.de">sebastian.nowozin@web.de</A>
QAContact: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
TargetMilestone: ---
@@ -39,7 +39,29 @@
MS csc does bail out.
------- Additional Comments From <A HREF="mailto:sebastian.nowozin@web.de">sebastian.nowozin@web.de</A> 2003-06-30 15:37 -------
Created an attachment (id=4748)
Testcase, deriving System.Net.WebClient, which is sealed
+
+
+------- Additional Comments From <A HREF="mailto:bmaurer@users.sf.net">bmaurer@users.sf.net</A> 2003-06-30 19:59 -------
+The below sample will run in mono. So that means not only does MCS
+compile it incorrectly, but also that mono incorrectly runs the
+invalid IL code!
+
+public class MyWebClient : System.Net.WebClient
+{
+ public new byte[] DownloadData (string address)
+ {
+ return (base.DownloadData (address + &quot;foo&quot;));
+ }
+
+ public static void Main ()
+ {
+ MyWebClient w = new MyWebClient ();
+ w.BaseAddress = &quot;<A HREF="http://go-mono.com";">http://go-mono.com&quot;;</A>
+ System.Console.WriteLine (w.BaseAddress);
+ }
+}
+
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="006034.html">[Mono-bugs] [Bug 45659][Blo] Changed - XSP : &lt;asp:button/&gt; executes code but redirects to an invalid page
</A></li>
<LI> Next message: <A HREF="006036.html">[Mono-bugs] [Bug 45651][Min] Changed - System.Net.WebClient : QueryString property keys/data are invalidly escaped
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6035">[ date ]</a>
<a href="thread.html#6035">[ thread ]</a>
<a href="subject.html#6035">[ subject ]</a>
<a href="author.html#6035">[ author ]</a>
</LI>
</UL>
</body></html>