mail-archives/mono-bugs/2010-July/102165.html

119 строки
4.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 622042] Regression: Array.Sort no longer sorts properly.
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20622042%5D%20Regression%3A%20Array.Sort%20no%20longer%20sorts%0A%09properly.&In-Reply-To=bug-622042-28286%40http.bugzilla.novell.com/">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="102159.html">
<LINK REL="Next" HREF="102160.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 622042] Regression: Array.Sort no longer sorts properly.</H1>
<B>bugzilla_noreply at novell.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20622042%5D%20Regression%3A%20Array.Sort%20no%20longer%20sorts%0A%09properly.&In-Reply-To=bug-622042-28286%40http.bugzilla.novell.com/"
TITLE="[Mono-bugs] [Bug 622042] Regression: Array.Sort no longer sorts properly.">bugzilla_noreply at novell.com
</A><BR>
<I>Tue Jul 13 18:46:04 EDT 2010</I>
<P><UL>
<LI>Previous message: <A HREF="102159.html">[Mono-bugs] [Bug 622042] New: Regression: Array.Sort no longer sorts properly.
</A></li>
<LI>Next message: <A HREF="102160.html">[Mono-bugs] [Bug 622051] New: Interal compiler error
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#102165">[ date ]</a>
<a href="thread.html#102165">[ thread ]</a>
<a href="subject.html#102165">[ subject ]</a>
<a href="author.html#102165">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE><A HREF="http://bugzilla.novell.com/show_bug.cgi?id=622042">http://bugzilla.novell.com/show_bug.cgi?id=622042</A>
<A HREF="http://bugzilla.novell.com/show_bug.cgi?id=622042#c1">http://bugzilla.novell.com/show_bug.cgi?id=622042#c1</A>
Miguel de Icaza &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">miguel at novell.com</A>&gt; changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Miguel de Icaza &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">miguel at novell.com</A>&gt; 2010-07-13 22:46:03 UTC ---
This turns out to be an implementation specific bug, and it is easy to also
make .NET break, but the other way around.
This bug was originally exposed by the ms_clr_suite that used the above
pattern. The comparer is buggy because it should not be testing the boxed
values in &quot;if (x == y) return 0&quot; it should be testing the unboxed values.
Changing the order of the keys of the c1 array will break in .NET but work in
Mono with this buggy Comparer implementation.
--
Configure bugmail: <A HREF="http://bugzilla.novell.com/userprefs.cgi?tab=email">http://bugzilla.novell.com/userprefs.cgi?tab=email</A>
------- You are receiving this mail because: -------
You are the QA contact for the bug.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="102159.html">[Mono-bugs] [Bug 622042] New: Regression: Array.Sort no longer sorts properly.
</A></li>
<LI>Next message: <A HREF="102160.html">[Mono-bugs] [Bug 622051] New: Interal compiler error
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#102165">[ date ]</a>
<a href="thread.html#102165">[ thread ]</a>
<a href="subject.html#102165">[ subject ]</a>
<a href="author.html#102165">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>