User: starksm 
  Date: 01/06/30 18:24:24

  Modified:    src/main/org/jboss/naming Util.java
  Log:
  Fix bug in the creation of nested contexts with more than 1 intermeadiate
  subcontext
  
  Revision  Changes    Path
  1.4       +3 -1      jboss/src/main/org/jboss/naming/Util.java
  
  Index: Util.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/naming/Util.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Util.java 2001/06/18 20:01:27     1.3
  +++ Util.java 2001/07/01 01:24:24     1.4
  @@ -10,7 +10,7 @@
   /** A static utility class for common JNDI operations.
    *
    * @author <a href="mailto:[EMAIL PROTECTED]";>Scott Stark</a>.
  - * @version $Revision: 1.3 $
  + * @version $Revision: 1.4 $
    */
   public class Util
   {
  @@ -46,6 +46,8 @@
               {
                   subctx = ctx.createSubcontext(ctxName);
               }
  +            // The current subctx will be the ctx for the next name component
  +            ctx = subctx;
           }
           return subctx;
       }
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to