Author: igorz
Date: 2007-05-17 08:12:06 -0400 (Thu, 17 May 2007)
New Revision: 77542

Modified:
   
branches/mainsoft/gh20/mcs/class/System.Web/System.Web.Configuration_2.0/ChangeLog
   
branches/mainsoft/gh20/mcs/class/System.Web/System.Web.Configuration_2.0/WebConfigurationHost.cs
Log:
merged r77540-77541

Modified: 
branches/mainsoft/gh20/mcs/class/System.Web/System.Web.Configuration_2.0/ChangeLog
===================================================================
--- 
branches/mainsoft/gh20/mcs/class/System.Web/System.Web.Configuration_2.0/ChangeLog
  2007-05-17 12:04:52 UTC (rev 77541)
+++ 
branches/mainsoft/gh20/mcs/class/System.Web/System.Web.Configuration_2.0/ChangeLog
  2007-05-17 12:12:06 UTC (rev 77542)
@@ -1,3 +1,8 @@
+2007-05-17  Igor Zelmanovich <[EMAIL PROTECTED]>
+
+       * WebConfigurationHost.cs: for TARGET_J2EE only:
+       prevent NullRefference Exception.
+
 2007-05-15  Igor Zelmanovich <[EMAIL PROTECTED]>
 
        * WebConfigurationManager.cs: 

Modified: 
branches/mainsoft/gh20/mcs/class/System.Web/System.Web.Configuration_2.0/WebConfigurationHost.cs
===================================================================
--- 
branches/mainsoft/gh20/mcs/class/System.Web/System.Web.Configuration_2.0/WebConfigurationHost.cs
    2007-05-17 12:04:52 UTC (rev 77541)
+++ 
branches/mainsoft/gh20/mcs/class/System.Web/System.Web.Configuration_2.0/WebConfigurationHost.cs
    2007-05-17 12:12:06 UTC (rev 77542)
@@ -333,6 +333,8 @@
                }
 #if TARGET_J2EE
                static DirectoryInfo GetCaseSensitiveExistingDirectory 
(DirectoryInfo dir) {
+                       if (dir == null)
+                               return null;
                        if (dir.Exists)
                                return dir;
 

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to