[Mono-bugs] [Bug 34196][Nor] New - GetSatelliteAssembly use in ResourceManager needs checks

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
18 Nov 2002 14:04:14 -0000


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

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

--- shadow/34196	Mon Nov 18 09:04:14 2002
+++ shadow/34196.tmp.5613	Mon Nov 18 09:04:14 2002
@@ -0,0 +1,31 @@
+Bug#: 34196
+Product: Mono/Class Libraries
+Version: unspecified
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: dick@ximian.com                            
+ReportedBy: lupus@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: GetSatelliteAssembly use in ResourceManager needs checks
+
+If the satellite assembly doesn't exists, ResourceManager should check for
+null or handle the exceptions and throw a
+System.Resources.MissingManifestResourceException instead.
+For example, check how the following program behaves on mono and on the ms
+runtime:
+using System.Resources;
+
+class T {
+        static void Main () {
+                ResourceManager rm = new ResourceManager (typeof(T));
+                string t = rm.GetString ("ah");
+        }
+}