ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/junit JUnitTask.java
Date Thu, 07 Nov 2002 07:51:36 GMT
bodewig     2002/11/06 23:51:36

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/junit Tag:
                        ANT_15_BRANCH JUnitTask.java
  Log:
  fix NPE
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.44.2.4  +2 -2      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java
  
  Index: JUnitTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java,v
  retrieving revision 1.44.2.3
  retrieving revision 1.44.2.4
  diff -u -r1.44.2.3 -r1.44.2.4
  --- JUnitTask.java	6 Nov 2002 11:31:55 -0000	1.44.2.3
  +++ JUnitTask.java	7 Nov 2002 07:51:35 -0000	1.44.2.4
  @@ -686,7 +686,7 @@
           } catch (IOException e) {
               throw new BuildException("Process fork failed.", e, getLocation());
           } finally {
  -            if (watchdog.killedProcess()) {
  +            if (watchdog != null && watchdog.killedProcess()) {
                   logTimeout(feArray, test);
               }
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message