geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r707439 - /geronimo/gshell/trunk/gshell-support/gshell-clp/src/main/java/org/apache/geronimo/gshell/clp/Descriptor.java
Date Thu, 23 Oct 2008 18:41:12 GMT
Author: gnodet
Date: Thu Oct 23 11:41:11 2008
New Revision: 707439

URL: http://svn.apache.org/viewvc?rev=707439&view=rev
Log:
SMX4-123: Fix possible NPE on AIX

Modified:
    geronimo/gshell/trunk/gshell-support/gshell-clp/src/main/java/org/apache/geronimo/gshell/clp/Descriptor.java

Modified: geronimo/gshell/trunk/gshell-support/gshell-clp/src/main/java/org/apache/geronimo/gshell/clp/Descriptor.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-support/gshell-clp/src/main/java/org/apache/geronimo/gshell/clp/Descriptor.java?rev=707439&r1=707438&r2=707439&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-support/gshell-clp/src/main/java/org/apache/geronimo/gshell/clp/Descriptor.java
(original)
+++ geronimo/gshell/trunk/gshell-support/gshell-clp/src/main/java/org/apache/geronimo/gshell/clp/Descriptor.java
Thu Oct 23 11:41:11 2008
@@ -61,7 +61,8 @@
         }
         
         this.required = required;
-        this.handler = handler;
+        // On IBM JDK, the value passed is null instead of the default value, so fix it in
case
+        this.handler = handler != null ? handler : Handler.class;
         this.multiValued = multiValued;
     }
 



Mime
View raw message