On Wed, 18 Nov 2026 11:20:51 GMT, Volkan Yazici <[email protected]> wrote:

>> Jaikiran Pai has updated the pull request with a new target base due to a 
>> merge or a rebase. The incremental webrev excludes the unrelated changes 
>> brought in by the merge/rebase. The pull request contains 10 additional 
>> commits since the last revision:
>> 
>>  - be lenient only for ABANDON_REQUEST type
>>  - merge latest from master branch
>>  - merge latest from master branch
>>  - update the server in the test to be lenient to LDAP messages that it 
>> doesn't process
>>  - merge latest from master branch
>>  - do not reattempt search for subschemasubentry when root DSE has already 
>> been searched for
>>  - update the test to test against base DN when constructing the DirContext
>>  - merge latest from master branch
>>  - add test
>>  - 8396120: Wrong comparison in LdapCtx causes NoSuchElementException
>
> test/jdk/com/sun/jndi/ldap/LdapCtxGetSchemaTest.java line 293:
> 
>> 291: 
>> 292:             final byte msgId = (byte) request.getMessageID();
>> 293:             if (request.getOperation() == 
>> LdapMessage.Operation.SEARCH_REQUEST) {
> 
> @jaikiran, unlike the earlier code, the new code silently accepts all 
> operations, which might hide a bug. Can we instead accept both 
> `SEARCH_REQUEST` and `ABANDON_REQUEST`, and fail for the rest?

Done. A test repeat of 50 continues to pass with the change.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/33838#discussion_r4737130053

Reply via email to