[izpack-changes] r1773 - izpack-src/trunk/src/lib/com/izforge/izpack/panels

noreply at berlios.de noreply at berlios.de
Thu Mar 8 14:41:58 CET 2007


Author: bartzkau
Date: 2007-03-08 14:41:58 +0100 (Thu, 08 Mar 2007)
New Revision: 1773

Modified:
   izpack-src/trunk/src/lib/com/izforge/izpack/panels/JDKPathPanel.java
Log:
Bug on Unix fixed.


Modified: izpack-src/trunk/src/lib/com/izforge/izpack/panels/JDKPathPanel.java
===================================================================
--- izpack-src/trunk/src/lib/com/izforge/izpack/panels/JDKPathPanel.java	2007-03-08 09:42:03 UTC (rev 1772)
+++ izpack-src/trunk/src/lib/com/izforge/izpack/panels/JDKPathPanel.java	2007-03-08 13:41:58 UTC (rev 1773)
@@ -1,5 +1,5 @@
 /*
- * $Id:$
+ * $Id$
  * IzPack - Copyright 2001-2007 Julien Ponge, All Rights Reserved.
  * 
  * http://www.izforge.com/izpack/
@@ -283,7 +283,7 @@
         }
         if (max != null)
             if (!compareVersions(vs, max, false, 4, 4, "__NO_NOT_IDENTIFIER_")) retval = BAD_VERSION;
-        if( retval == OK && badRegEntries.size() > 0 )
+        if (retval == OK && badRegEntries != null && badRegEntries.size() > 0)
         {   // Test for bad registry entry.
             if( badRegEntries.contains(getDetectedVersion()))
                 retval = BAD_REG_PATH;




More information about the izpack-changes mailing list