On Fri, 13 Feb 2026 10:58:24 GMT, Alan Bateman <[email protected]> wrote:
>> Hello Alan, I am not familiar with the history of these JNDI APIs. I did a
>> quick check and it looks like there are only a few places in the JDK where
>> we refer to the JNDI version. For example, in `javax.naming.Context`:
>>> Prior to JNDI 1.2, all name arguments were treated as composite names.
>>
>> and then in `javax.naming.directory.DirContext`:
>>
>> * Prior to JNDI 1.2, this method
>> * returned a single schema object representing the class definition of
>> * the named object.
>> * Since JNDI 1.2, this method returns a {@code DirContext} containing
>> * all of the named object's class definitions.
>>
>> and then are a few places which have this:
>>
>>
>> Use serialVersionUID from JNDI 1.1.1 for interoperability
>>
>> on the `serialVersionUID` fields.
>>
>> Do you suggest I remove the `@since JNDI 1.1` from `IntialContext`?
>>
>> As a follow up, should we also remove/update the text refering to the JNDI
>> versions in other places?
>
>> Do you suggest I remove the `@since JNDI 1.1` from `IntialContext`?
>
> Yes, I think we should remove it with this update.
>
>> As a follow up, should we also remove/update the text refering to the JNDI
>> versions in other places?
>
> That would be good, but low priority of course.
Done, I've updated the PR to remove the `@since JNDI 1.1` from `InitialContext`.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29705#discussion_r2803726256