commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rsi...@apache.org
Subject cvs commit: jakarta-commons/discovery/src/java/org/apache/commons/discovery/strategy DefaultDiscoverStrategy.java DefaultLoadStrategy.java
Date Thu, 22 Aug 2002 15:55:38 GMT
rsitze      2002/08/22 08:55:37

  Modified:    discovery/src/java/org/apache/commons/discovery/strategy
                        DefaultDiscoverStrategy.java
                        DefaultLoadStrategy.java
  Log:
  
  
  Revision  Changes    Path
  1.3       +1 -1      jakarta-commons/discovery/src/java/org/apache/commons/discovery/strategy/DefaultDiscoverStrategy.java
  
  Index: DefaultDiscoverStrategy.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/discovery/src/java/org/apache/commons/discovery/strategy/DefaultDiscoverStrategy.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- DefaultDiscoverStrategy.java	22 Aug 2002 15:20:42 -0000	1.2
  +++ DefaultDiscoverStrategy.java	22 Aug 2002 15:55:37 -0000	1.3
  @@ -208,7 +208,7 @@
               }
           }
   
  -        // Last, try to find a service by using the JDK1.3 jar
  +        // Last, try to find services by using the JDK1.3 jar
           // discovery mechanism.
           Enumeration classNames = getJDK13ClassNames(env.getThreadContextClassLoader(),
spiName);
           while (classNames.hasMoreElements()) {
  
  
  
  1.9       +3 -3      jakarta-commons/discovery/src/java/org/apache/commons/discovery/strategy/DefaultLoadStrategy.java
  
  Index: DefaultLoadStrategy.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/discovery/src/java/org/apache/commons/discovery/strategy/DefaultLoadStrategy.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- DefaultLoadStrategy.java	22 Aug 2002 15:20:42 -0000	1.8
  +++ DefaultLoadStrategy.java	22 Aug 2002 15:55:37 -0000	1.9
  @@ -169,11 +169,11 @@
               implClass.load(getLoaders(env.getSearchLibOnly()));
           } else {
               // All else fails: try the fallback implementation class,
  -            // but limit loaders to 'system' loaders, in an
  +            // but limit loaders to library loaders, in an
               // attempt to ensure that the default picked up is
               // the one that was intended.
  -            implClass = defaultImpl;
  -            if (implClass != null) {
  +            if (defaultImpl != null) {
  +                implClass = defaultImpl;
                   implClass.load(getLoaders(true));
               }
           }
  
  
  

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


Mime
View raw message