RFR: 8288895: LdapContext doesn't honor set referrals limit [v3]

Aleksei Efimov aefimov at openjdk.org
Tue Jun 28 14:59:40 UTC 2022


On Tue, 28 Jun 2022 14:22:48 GMT, rmartinc <duke at openjdk.org> wrote:

>> 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)

Marked as reviewed by aefimov (Committer).

-------------

PR: https://git.openjdk.org/jdk/pull/9256


More information about the core-libs-dev mailing list