> Fixes [JDK-8288895](https://bugs.openjdk.org/browse/JDK-8288895). > > Any `LimitExceededException` now quits the referral loop. > > Added class `ReferralLimitSearchTest`. It is a simple jtreg test which checks > that `java.naming.ldap.referral.limit` is really enforced. The dummy ldap > server always returns a referral for any search query. If the number of > searches exceeds the limit, it throws an `IOException` and the test fails. > > > make test TEST=jtreg:jdk/com/sun/jndi/ldap/ReferralLimitSearchTest.java
rmartinc has updated the pull request incrementally with one additional commit since the last revision: 8288895: LdapContext doesn't honor set referrals limit (typo) ------------- Changes: - all: https://git.openjdk.org/jdk/pull/9256/files - new: https://git.openjdk.org/jdk/pull/9256/files/09961af7..81f3c146 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=9256&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=9256&range=01-02 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/9256.diff Fetch: git fetch https://git.openjdk.org/jdk pull/9256/head:pull/9256 PR: https://git.openjdk.org/jdk/pull/9256