ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/util JavaEnvUtils.java
Date Sun, 26 Jan 2003 10:25:53 GMT
conor       2003/01/26 02:25:53

  Modified:    src/main/org/apache/tools/ant/util JavaEnvUtils.java
  Log:
  Handle whatever reason a platform specific class is in accessible
  (some users get security exceptions)
  
  PR:	15421
  
  Revision  Changes    Path
  1.10      +1 -1      jakarta-ant/src/main/org/apache/tools/ant/util/JavaEnvUtils.java
  
  Index: JavaEnvUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/util/JavaEnvUtils.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -w -u -r1.9 -r1.10
  --- JavaEnvUtils.java	2 Dec 2002 14:20:06 -0000	1.9
  +++ JavaEnvUtils.java	26 Jan 2003 10:25:52 -0000	1.10
  @@ -125,7 +125,7 @@
               Class.forName("java.lang.CharSequence");
               javaVersion = JAVA_1_4;
               javaVersionNumber++;
  -        } catch (ClassNotFoundException cnfe) {
  +        } catch (Throwable t) {
               // swallow as we've hit the max class version that
               // we have
           }
  
  
  

--
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