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 AntClassLoader.java
Date Fri, 11 May 2001 06:27:05 GMT
bodewig     01/05/10 23:27:05

  Modified:    src/main/org/apache/tools/ant AntClassLoader.java
  Log:
  Class.newInstance throws a NoSuchMethodError in JDK 1.1 if there is no
  no-arg constructor.
  
  Revision  Changes    Path
  1.19      +1 -1      jakarta-ant/src/main/org/apache/tools/ant/AntClassLoader.java
  
  Index: AntClassLoader.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/AntClassLoader.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- AntClassLoader.java	2001/05/10 15:22:38	1.18
  +++ AntClassLoader.java	2001/05/11 06:27:03	1.19
  @@ -171,7 +171,7 @@
           try {
               theClass.newInstance();
           }
  -        catch (Exception e) {
  +        catch (Throwable t) {
               //ignore - our work is done
           }
       }
  
  
  

Mime
View raw message