bodewig     2004/11/18 02:17:47

  Modified:    src/main/org/apache/tools/zip ZipEntry.java
  Log:
  Some Gump based Kaffe debugging
  
  Revision  Changes    Path
  1.19      +6 -1      ant/src/main/org/apache/tools/zip/ZipEntry.java
  
  Index: ZipEntry.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/zip/ZipEntry.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- ZipEntry.java     16 Nov 2004 08:37:41 -0000      1.18
  +++ ZipEntry.java     18 Nov 2004 10:17:47 -0000      1.19
  @@ -430,6 +430,11 @@
               if (msg == null) {
                   msg = getDisplayableMessage(ite);
               }
  +            if (nested != null) {
  +                nested.printStackTrace();
  +            } else {
  +                ite.printStackTrace();
  +            }
               throw new RuntimeException("InvocationTargetException setting 
the "
                                          + "compressed size of " + ze + ": "
                                          + msg);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to