jdk/src/share/classes/com/sun/jndi/ldap/Connection.java
changeset 8182 1afdfa9621b6
parent 6312 ec857430700d
child 8564 d99f879a35ab
equal deleted inserted replaced
8181:b2519f6074de 8182:1afdfa9621b6
   654                     }
   654                     }
   655                     sock = null;
   655                     sock = null;
   656                 }
   656                 }
   657                 nparent = notifyParent;
   657                 nparent = notifyParent;
   658             }
   658             }
   659         }
   659             if (nparent) {
   660         if (nparent) {
   660                 LdapRequest ldr = pendingRequests;
   661             LdapRequest ldr = pendingRequests;
   661                 while (ldr != null) {
   662             while (ldr != null) {
   662 
   663                 ldr.notify();
   663                     synchronized (ldr) {
   664                 ldr = ldr.next;
   664                         ldr.notify();
   665             }
   665                         ldr = ldr.next;
   666             parent.processConnectionClosure();
   666                     }
       
   667                 }
       
   668                 parent.processConnectionClosure();
       
   669             }
   667         }
   670         }
   668     }
   671     }
   669 
   672 
   670 
   673 
   671     // Assume everything is "quiet"
   674     // Assume everything is "quiet"