[Mono-bugs] [Bug 50963][Cri] Changed - System.Globalization.CultureInfo raises exception

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 14 Nov 2003 22:42:07 -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 dan@atacomm.com.

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

--- shadow/50963	2003-11-13 20:17:41.000000000 -0500
+++ shadow/50963.tmp.15581	2003-11-14 22:42:07.000000000 -0500
@@ -1,12 +1,12 @@
 Bug#: 50963
 Product: Mono/Class Libraries
 Version: unspecified
 OS: Red Hat 9.0
 OS Details: 
-Status: NEEDINFO   
+Status: REOPENED   
 Resolution: 
 Severity: 080 Two weeks
 Priority: Critical
 Component: System
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: dan@atacomm.com               
@@ -52,6 +52,21 @@
 
 this.Locale = new System.Globalization.CultureInfo("en-US");
 
 ------- Additional Comments From gonzalo@ximian.com  2003-11-13 20:17 -------
 Does your runtime have support dor ICU? You need libicu installed...
 Also, can you provide a test case? The simpler the better.
+
+------- Additional Comments From dan@atacomm.com  2003-11-14 22:42 -------
+Recompiling with ICU installed fixes the problem.
+
+I would ask that you consider changing the exception from 
+System.ArgumentException to a custom exception stating ICU is not 
+installed, if that is the case.
+
+Not knowing that ICU is the reason could cause many others to look 
+at this and report it as a bug.  I know i've seen it once before in 
+mailing list archives and never saw the person get his issue 
+resolved (atleast publically stated.).  Making 
+a "Mono.IcuNotInstalledException: Install ICU and Recompile Mono" or 
+something like that would be very helpful to the end user, and 
+atleast give them a direction to look at to fix the problem.