bodewig     2004/06/01 06:33:10

  Modified:    src/main/org/apache/tools/ant/taskdefs ProcessDestroyer.java
  Log:
  JDK 1.3-
  
  Revision  Changes    Path
  1.18      +2 -2      
ant/src/main/org/apache/tools/ant/taskdefs/ProcessDestroyer.java
  
  Index: ProcessDestroyer.java
  ===================================================================
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/ProcessDestroyer.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- ProcessDestroyer.java     27 May 2004 07:06:27 -0000      1.17
  +++ ProcessDestroyer.java     1 Jun 2004 13:33:10 -0000       1.18
  @@ -101,7 +101,7 @@
               } catch (IllegalAccessException e) {
                   e.printStackTrace();
               } catch (InvocationTargetException e) {
  -                Throwable t = e.getCause();
  +                Throwable t = e.getTargetException();
                   if (t != null && t.getClass() == 
IllegalStateException.class) {
                       // shutdown already is in progress
                       running = true;
  @@ -130,7 +130,7 @@
               } catch (IllegalAccessException e) {
                   e.printStackTrace();
               } catch (InvocationTargetException e) {
  -                Throwable t = e.getCause();
  +                Throwable t = e.getTargetException();
                   if (t != null && t.getClass() == 
IllegalStateException.class) {
                       // shutdown already is in progress
                       running = true;
  
  
  

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

Reply via email to