hi,all. In the ProxyDirContext class, the lookupCache method is described below:
public CacheEntry lookupCache(String name) { CacheEntry entry = cacheLookup(name); if (entry == null) { the line 1378 in ProxyDirContext entry = new CacheEntry(); entry.name = name; try { ……………… I think there is no need to validate whether the entry is null, the call for the cacheLookup method could return entry which is not null. -- Best Regards! msn:[EMAIL PROTECTED] <[EMAIL PROTECTED]> http://chillwarmoon.javaeye.com https://sourceforge.net/projects/jamocha