jdk/src/share/classes/com/sun/jndi/toolkit/dir/LazySearchEnumerationImpl.java
changeset 25808 e113d0a0fde0
parent 17725 5d515b9ffbbe
equal deleted inserted replaced
25807:6c325960c9ee 25808:e113d0a0fde0
   150                         if (!cons.getReturningObjFlag()) {
   150                         if (!cons.getReturningObjFlag()) {
   151                             obj = null;
   151                             obj = null;
   152                         } else if (useFactory) {
   152                         } else if (useFactory) {
   153                             try {
   153                             try {
   154                                 // Give name only if context non-null,
   154                                 // Give name only if context non-null,
   155                                 // otherewise, name will be interpreted relative
   155                                 // otherwise, name will be interpreted relative
   156                                 // to initial context (not what we want)
   156                                 // to initial context (not what we want)
   157                                 Name nm = (context != null ?
   157                                 Name nm = (context != null ?
   158                                     new CompositeName(next.getName()) : null);
   158                                     new CompositeName(next.getName()) : null);
   159                                 obj = DirectoryManager.getObjectInstance(obj,
   159                                 obj = DirectoryManager.getObjectInstance(obj,
   160                                     nm, context, env, targetAttrs);
   160                                     nm, context, env, targetAttrs);