avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/classloader DefaultClassLoaderManager.java
Date Fri, 28 Jun 2002 07:57:02 GMT
donaldp     2002/06/28 00:57:02

  Modified:    src/java/org/apache/avalon/phoenix/components/classloader
                        DefaultClassLoaderManager.java
  Log:
  Make sure null manifests are not passed to ExtensionManager
  
  Submitted By: Atul Kshatriya
  
  Revision  Changes    Path
  1.35      +4 -1      jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/classloader/DefaultClassLoaderManager.java
  
  Index: DefaultClassLoaderManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/classloader/DefaultClassLoaderManager.java,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- DefaultClassLoaderManager.java	9 Jun 2002 00:13:04 -0000	1.34
  +++ DefaultClassLoaderManager.java	28 Jun 2002 07:57:02 -0000	1.35
  @@ -227,7 +227,10 @@
                       final URL url = new URL( "jar:" + element + "!/" );
                       final JarURLConnection connection = (JarURLConnection)url.openConnection();
                       final Manifest manifest = connection.getManifest();
  -                    manifests.add( manifest );
  +                    if( null != manifest )
  +                    {
  +                        manifests.add( manifest );
  +                    }
                   }
                   catch( final IOException ioe )
                   {
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message