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 ExecuteJava.java
Date Thu, 24 Jul 2003 13:24:35 GMT
bodewig     2003/07/24 06:24:35

  Modified:    src/main/org/apache/tools/ant AntClassLoader.java
               src/main/org/apache/tools/ant/taskdefs ExecuteJava.java
  Log:
  Fix inconsistent synchronization
  
  Revision  Changes    Path
  1.73      +1 -1      ant/src/main/org/apache/tools/ant/AntClassLoader.java
  
  Index: AntClassLoader.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/AntClassLoader.java,v
  retrieving revision 1.72
  retrieving revision 1.73
  diff -u -r1.72 -r1.73
  --- AntClassLoader.java	14 Jul 2003 13:47:27 -0000	1.72
  +++ AntClassLoader.java	24 Jul 2003 13:24:35 -0000	1.73
  @@ -526,7 +526,7 @@
        * @param isolated Whether or not this classloader should run in
        *                 isolated mode.
        */
  -    public void setIsolated(boolean isolated) {
  +    public synchronized void setIsolated(boolean isolated) {
           ignoreBase = isolated;
       }
   
  
  
  
  1.35      +1 -1      ant/src/main/org/apache/tools/ant/taskdefs/ExecuteJava.java
  
  Index: ExecuteJava.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/ExecuteJava.java,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- ExecuteJava.java	19 Jul 2003 08:10:59 -0000	1.34
  +++ ExecuteJava.java	24 Jul 2003 13:24:35 -0000	1.35
  @@ -237,7 +237,7 @@
       /**
        * @since 1.19, Ant 1.5
        */
  -    public boolean killedProcess() {
  +    public synchronized boolean killedProcess() {
           return timedOut;
       }
   }
  
  
  

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


Mime
View raw message