From: <st...@us...> - 2001-07-01 01:27:10
|
User: starksm Date: 01/06/30 18:27:10 Modified: src/main/org/jboss/naming Tag: Branch_2_2 Util.java Log: Fix bug in the creation of nested contexts with more than 1 intermeadiate subcontext Revision Changes Path No revision No revision 1.2.2.2 +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.2.2.1 retrieving revision 1.2.2.2 diff -u -r1.2.2.1 -r1.2.2.2 --- Util.java 2001/05/24 05:05:08 1.2.2.1 +++ Util.java 2001/07/01 01:27:10 1.2.2.2 @@ -10,7 +10,7 @@ /** A static utility class for common JNDI operations. * * @author Sco...@di... - * @version $Revision: 1.2.2.1 $ + * @version $Revision: 1.2.2.2 $ */ 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; } |