equal
deleted
inserted
replaced
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); |