On Thu, 30 Apr 2026 18:00:49 GMT, Artur Barashev <[email protected]> wrote:

>> src/java.base/share/classes/javax/net/ssl/SSLEngine.java line 1142:
>> 
>>> 1140:      * handshaking.
>>> 1141:      * <P>
>>> 1142:      * This method must be called before any handshaking occurs.
>> 
>> This is not a "must". Either "should" or "is recommended".
>
> It is a `must` in case of JSSE, otherwise we throw an exception. But this is 
> a good point, I think we should place this text under `@implNote`

The `@implNote` here already implied this. IMO, this is the most important 
method related to this issue and I suggest we keep some word about default and 
suggestion.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/30754#discussion_r3170072136

Reply via email to