geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r540375 - /geronimo/server/trunk/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/xmlbeans/XmlBeansUtil.java
Date Tue, 22 May 2007 00:08:03 GMT
Author: djencks
Date: Mon May 21 17:08:02 2007
New Revision: 540375

URL: http://svn.apache.org/viewvc?view=rev&rev=540375
Log:
Extend sleazy workaround for non-registered substitution group validation to when geronimo
is running with assertions enabled

Modified:
    geronimo/server/trunk/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/xmlbeans/XmlBeansUtil.java

Modified: geronimo/server/trunk/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/xmlbeans/XmlBeansUtil.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/xmlbeans/XmlBeansUtil.java?view=diff&rev=540375&r1=540374&r2=540375
==============================================================================
--- geronimo/server/trunk/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/xmlbeans/XmlBeansUtil.java
(original)
+++ geronimo/server/trunk/modules/geronimo-deployment/src/main/java/org/apache/geronimo/deployment/xmlbeans/XmlBeansUtil.java
Mon May 21 17:08:02 2007
@@ -220,6 +220,8 @@
             }
         } catch (NullPointerException e) {
             //ignore
+        } catch (AssertionError e) {
+            //ignore.  Would be the NPE above if assertions were turned off
         }
 //        System.out.println("descriptor: " + dd.toString());
     }



Mime
View raw message