tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/loader StandardClassLoader.java
Date Thu, 15 Apr 2004 21:39:48 GMT
luehe       2004/04/15 14:39:48

  Modified:    catalina/src/share/org/apache/catalina/loader
                        StandardClassLoader.java
  Log:
  Avoid
    java.lang.NoClassDefFoundError: org/apache/tomcat/util/compat/JdkCompat
  during startup.
  
  Revision  Changes    Path
  1.11      +3 -12     jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/loader/StandardClassLoader.java
  
  Index: StandardClassLoader.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/loader/StandardClassLoader.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- StandardClassLoader.java	15 Apr 2004 01:44:09 -0000	1.10
  +++ StandardClassLoader.java	15 Apr 2004 21:39:48 -0000	1.11
  @@ -198,15 +198,6 @@
       }
   
   
  -    // ----------------------------------------------------- Class Variables
  -
  -
  -    /**
  -     * JDK compatibility support
  -     */
  -    private static final JdkCompat jdkCompat = JdkCompat.getJdkCompat();
  -
  -
       // ----------------------------------------------------- Instance Variables
   
   
  @@ -381,7 +372,7 @@
           } catch (MalformedURLException e) {
               IllegalArgumentException iae = new IllegalArgumentException
                   ("Invalid repository: " + repository);
  -            jdkCompat.chainException(iae, e);
  +            JdkCompat.getJdkCompat().chainException(iae, e);
               throw iae;
           }
   
  @@ -956,7 +947,7 @@
               } catch (Throwable t) {
                   IllegalArgumentException iae = new IllegalArgumentException
                       ("addRepositoryInternal");
  -                jdkCompat.chainException(iae, t);
  +                JdkCompat.getJdkCompat().chainException(iae, t);
                   throw iae;
               } finally {
                   if (jarFile != null) {
  
  
  

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


Mime
View raw message