On Tue, 28 Jun 2022 14:22:48 GMT, rmartinc <d...@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)

Thanks for the updates! Please run tier2 tests before integrating.

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

Marked as reviewed by dfuchs (Reviewer).

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

Reply via email to