[Mono-bugs] [Bug 53548][Nor] Changed - mono runtime doesn't provide any evidence when loading an assembly

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 5 Aug 2004 13:30:54 -0400 (EDT)


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 sebastien@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=53548

--- shadow/53548	2004-05-18 10:10:11.000000000 -0400
+++ shadow/53548.tmp.13577	2004-08-05 13:30:54.000000000 -0400
@@ -3,15 +3,15 @@
 Version: unspecified
 OS: All
 OS Details: 
 Status: NEW   
 Resolution: 
 Severity: Unknown
-Priority: Wishlist
+Priority: Normal
 Component: misc
-AssignedTo: mono-bugs@ximian.com                            
+AssignedTo: sebastien@ximian.com                            
 ReportedBy: spouliot@videotron.ca               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
 Summary: mono runtime doesn't provide any evidence when loading an assembly
@@ -77,6 +77,22 @@
 
 ------- Additional Comments From spouliot@videotron.ca  2004-05-18 10:10 -------
 Evidence is CAS related and isn't supported by Mono 1.0. However to 
 avoid NullReferenceException (like in the supplied sample) we now 
 return an empty Evidence instance (which is a collection) in 
 System.Assembly.
+
+------- Additional Comments From sebastien@ximian.com  2004-08-05 13:30 -------
+Attaching two patches to enable to use the Evidence property found in
+Assembly and AppDomain.
+
+1. runtime
+* add the required fields to Assembly (requires to map them in the
+runtime)
+* add a new icall to get an AppDomain using it's Id
+
+2. class library
+* add the required fields to Assembly
+* add an internal DefaultAppDomain which will be used to copy the
+evidence (from the default domain) into a new domain (when no evidence
+are provided). The same thing needs to (and will) be done for
+AppDomainSetup.