ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs ProcessDestroyer.java
Date Tue, 01 Jun 2004 13:33:25 GMT
bodewig     2004/06/01 06:33:25

  Modified:    src/main/org/apache/tools/ant/taskdefs Tag: ANT_16_BRANCH
                        ProcessDestroyer.java
  Log:
  merge
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.11.2.7  +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.11.2.6
  retrieving revision 1.11.2.7
  diff -u -r1.11.2.6 -r1.11.2.7
  --- ProcessDestroyer.java	1 Jun 2004 13:30:54 -0000	1.11.2.6
  +++ ProcessDestroyer.java	1 Jun 2004 13:33:25 -0000	1.11.2.7
  @@ -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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message