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:50:08 GMT
bodewig     2002/11/06 23:50:08

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/junit
                        JUnitTask.java
  Log:
  fix NPE
  
  Revision  Changes    Path
  1.51      +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.50
  retrieving revision 1.51
  diff -u -r1.50 -r1.51
  --- JUnitTask.java	6 Nov 2002 11:18:55 -0000	1.50
  +++ JUnitTask.java	7 Nov 2002 07:50:08 -0000	1.51
  @@ -682,7 +682,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