JDK-6759705 : Request to control the setting "com.sun.jndi.ldap.awaitSearchResult" on JDK 1.5.0 and JDK 6
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: javax.naming
  • Affected Version: 5.0
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux_suse_sles_10
  • CPU: x86
  • Submitted: 2008-10-15
  • Updated: 2010-04-03
  • Resolved: 2008-10-17
Related Reports
Duplicate :  
Description
Customer requested:

I think that the esc eng refers to the JNDI property control that is set
when the context is constructed, like also batchsize and binary
attributes are set:

  

Here is the Javadoc of this class:

 http://java.sun.com/j2se/1.5.0/docs/api/javax/naming/Context.html

In this class binary attributes are done by setting the property
 "java.naming.ldap.attributes.binary".

  

We assume that setting the "com.sun.jndi.ldap.awaitSearchResult" in the
same way, will control the new boolean flag.

  

If that is the case we think that it is a very good solution

Suggested changes:

Introduction of this new JNDI property to control the boolean flag:

     com.sun.jndi.ldap.awaitSearchResult

Its values are "true" (default) and "false" and is only examined when an LDAP
context is created.