[Mono-bugs] [Bug 72284][Nor] Changed - Exception thrown at JIT time results in unhandled exceptions

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 8 Feb 2005 11:20:51 -0500 (EST)


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=72284

--- shadow/72284	2005-02-07 09:44:36.000000000 -0500
+++ shadow/72284.tmp.6683	2005-02-08 11:20:51.000000000 -0500
@@ -2,13 +2,13 @@
 Product: Mono: Runtime
 Version: 1.1
 OS: All
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: JIT
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: sebastien@ximian.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -48,6 +48,24 @@
 
 How often does this happen? 
 Always
 
 Additional Information:
 [*] LinkDemand tests will soon be available to test this.
+
+------- Additional Comments From sebastien@ximian.com  2005-02-08 11:20 -------
+The problem is now easier to see with the patch from
+http://lists.ximian.com/archives/public/mono-devel-list/2005-February/010300.html
+
+and the new tests in /mono/mono/tests/cas/linkdemand
+E.g.
+
+> cd /mono/mono/tests/cas/linkdemand
+> make
+> mono --security icall1a.exe
+ 
+Unhandled Exception: System.Security.SecurityException: Calling
+internal calls is restricted to ECMA signed assemblies.
+in <0x000c8>
+System.Security.SecurityManager:LinkDemandSecurityException
+(int,System.Reflection.Assembly)
+