[izpack-changes] r1806 - izpack-src/trunk/src/lib/com/izforge/izpack/installer

noreply at berlios.de noreply at berlios.de
Wed Apr 4 14:12:16 CEST 2007


Author: aikebah
Date: 2007-04-04 14:11:50 +0200 (Wed, 04 Apr 2007)
New Revision: 1806

Modified:
   izpack-src/trunk/src/lib/com/izforge/izpack/installer/CompileWorker.java
Log:
Fix incorrect assignment of error-messages to output parameter

Modified: izpack-src/trunk/src/lib/com/izforge/izpack/installer/CompileWorker.java
===================================================================
--- izpack-src/trunk/src/lib/com/izforge/izpack/installer/CompileWorker.java	2007-04-03 18:31:13 UTC (rev 1805)
+++ izpack-src/trunk/src/lib/com/izforge/izpack/installer/CompileWorker.java	2007-04-04 12:11:50 UTC (rev 1806)
@@ -948,22 +948,26 @@
             }
             catch (ClassNotFoundException cnfe)
             {
-                output = new String[] { "error getting eclipse compiler", cnfe.getMessage() };
+                output[0] = "error getting eclipse compiler";
+                output[1] = cnfe.getMessage();
                 return -1;
             }
             catch (NoSuchMethodException nsme)
             {
-                output = new String[] { "error getting eclipse compiler method", nsme.getMessage() };
+                output[0] = "error getting eclipse compiler method";
+                output[1] = nsme.getMessage();
                 return -1;                    
             }
             catch (IllegalAccessException iae)
             {
-                output = new String[] { "error calling eclipse compiler", iae.getMessage() };
+                output[0] = "error calling eclipse compiler";
+                output[1] = iae.getMessage();
                 return -1;                                        
             }
             catch (InvocationTargetException ite)
             {
-                output = new String[] { "error calling eclipse compiler", ite.getMessage() };
+                output[0] = "error calling eclipse compiler";
+                output[1] = ite.getMessage();
                 return -1;                                        
             }
 




More information about the izpack-changes mailing list