Print this page


Split Close
Expand all
Collapse all
          --- old/src/share/classes/com/sun/jndi/ldap/Connection.java
          +++ new/src/share/classes/com/sun/jndi/ldap/Connection.java
↓ open down ↓ 455 lines elided ↑ open up ↑
 456  456                      if (rber == null) {
 457  457                          if (readTimeout > 0) {  // Socket read timeout is specified
 458  458  
 459  459                              // will be woken up before readTimeout only if reply is
 460  460                              // available
 461  461                              ldr.wait(readTimeout);
 462  462                              waited = true;
 463  463                          } else {
 464  464                              // no timeout is set so we wait infinitely until
 465  465                              // a response is received
 466      -                            // http://docs.oracle.com/javase/8/docs/technotes/guides/jndi/jndi-ldap.html#PROP
      466 +                            // https://docs.oracle.com/javase/8/docs/technotes/guides/jndi/jndi-ldap.html#PROP
 467  467                              ldr.wait();
 468  468                          }
 469  469                      } else {
 470  470                          break;
 471  471                      }
 472  472                  }
 473  473              } catch (InterruptedException ex) {
 474  474                  throw new InterruptedNamingException(
 475  475                      "Interrupted during LDAP operation");
 476  476              }
↓ open down ↓ 553 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX