зеркало из https://github.com/mono/mail-archives.git
100 строки
4.8 KiB
HTML
100 строки
4.8 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-bugs] [Bug 75246][Nor] Changed - KeyPair of AssemblyName used
|
|
to create assembly has no effect on AssemblyName of AssemblyBuilder
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%2075246%5D%5BNor%5D%20Changed%20-%20KeyPair%20of%20AssemblyName%20used%0A%09to%20create%20assembly%20has%20no%20effect%20on%20AssemblyName%20of%20AssemblyBuilder&In-Reply-To=bug-75246%40chernobyl.ximian.com">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="030374.html">
|
|
<LINK REL="Next" HREF="030375.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-bugs] [Bug 75246][Nor] Changed - KeyPair of AssemblyName used
|
|
to create assembly has no effect on AssemblyName of AssemblyBuilder</H1>
|
|
<B>bugzilla-daemon at bugzilla.ximian.com</B>
|
|
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%2075246%5D%5BNor%5D%20Changed%20-%20KeyPair%20of%20AssemblyName%20used%0A%09to%20create%20assembly%20has%20no%20effect%20on%20AssemblyName%20of%20AssemblyBuilder&In-Reply-To=bug-75246%40chernobyl.ximian.com"
|
|
TITLE="[Mono-bugs] [Bug 75246][Nor] Changed - KeyPair of AssemblyName used
|
|
to create assembly has no effect on AssemblyName of AssemblyBuilder">bugzilla-daemon at bugzilla.ximian.com
|
|
</A><BR>
|
|
<I>Mon Jun 13 15:06:22 EDT 2005</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="030374.html">[Mono-bugs] [Bug 75253][Wis] Changed - ASP.NET failing to compile
|
|
code with identifiers containing non-English characters in UTF-8
|
|
</A></li>
|
|
<LI>Next message: <A HREF="030375.html">[Mono-bugs] [Bug 75246][Nor] Changed - KeyPair of AssemblyName used
|
|
to create assembly has no effect on AssemblyName of AssemblyBuilder
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#30376">[ date ]</a>
|
|
<a href="thread.html#30376">[ thread ]</a>
|
|
<a href="subject.html#30376">[ subject ]</a>
|
|
<a href="author.html#30376">[ 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="http://lists.ximian.com/mailman/listinfo/mono-bugs">sebastien at ximian.com.</A>
|
|
|
|
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=75246">http://bugzilla.ximian.com/show_bug.cgi?id=75246</A>
|
|
|
|
--- shadow/75246 2005-06-13 13:49:24.000000000 -0400
|
|
+++ shadow/75246.tmp.23296 2005-06-13 15:06:22.000000000 -0400
|
|
@@ -55,6 +55,27 @@
|
|
with Category "NotWorking" for now).
|
|
|
|
------- Additional Comments From <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">gert.driesen at pandora.be</A> 2005-06-13 02:41 -------
|
|
Created an attachment (id=15313)
|
|
source code for repro
|
|
|
|
+
|
|
+------- Additional Comments From <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">sebastien at ximian.com</A> 2005-06-13 15:06 -------
|
|
+Hello Gert,
|
|
+
|
|
+you may want to try the attached patch (which will get into SVN after
|
|
+the 1.1.8 release). The "main" problem (KeyPair) is fixed but...
|
|
+
|
|
+(a) I had to choose between returning null (your test case) and
|
|
+returning "new byte [0]" (current behavior) for GetPublicKey. There's
|
|
+a unit test that shows (under both 1.x and 2.0) the 0-length array.
|
|
+I've tagged this case as "NotWorking" as your's (null) simpler. Maybe
|
|
+someday someone will find out when/why [0] is returned...
|
|
+
|
|
+(b) the AssemblyName still returns an extra "culture=neutral". There
|
|
+is already a bug about that.
|
|
+
|
|
+(c) unit tests #8 and #16 (abName.CultureInfo !=
|
|
+CultureInfo.InvariantCulture) aren't related to #75246 nor to public
|
|
+keys. Same for some NET_2_0 tests. So I copied the
|
|
+AssemblyName_PublicKey test to a new AssemblyName_MoreCultureInfo to
|
|
+split the tests.
|
|
</PRE>
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="030374.html">[Mono-bugs] [Bug 75253][Wis] Changed - ASP.NET failing to compile
|
|
code with identifiers containing non-English characters in UTF-8
|
|
</A></li>
|
|
<LI>Next message: <A HREF="030375.html">[Mono-bugs] [Bug 75246][Nor] Changed - KeyPair of AssemblyName used
|
|
to create assembly has no effect on AssemblyName of AssemblyBuilder
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#30376">[ date ]</a>
|
|
<a href="thread.html#30376">[ thread ]</a>
|
|
<a href="subject.html#30376">[ subject ]</a>
|
|
<a href="author.html#30376">[ 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>
|