RFR: 8280363: Minor correction of ALPN specification in SSLParameters [v2]

Daniel Fuchs dfuchs at openjdk.java.net
Thu Jan 20 15:34:49 UTC 2022


On Thu, 20 Jan 2022 14:42:56 GMT, Xue-Lei Andrew Fan <xuelei at openjdk.org> wrote:

>> src/java.base/share/classes/javax/net/ssl/SSLParameters.java line 619:
>> 
>>> 617:      *
>>> 618:      * @return a non-null, possibly zero-length array of application protocol
>>> 619:      *         {@code String}s.  The array is placed in descending order of
>> 
>> The phrase "descending order" seems more appropriate for numerical values. I think the previous wording was more clear, with a small change: "The array is ordered based on protocol preference, with the first entry being the most preferred."
>
> Hm, much better.  Thanks!

> The phrase "descending order" seems more appropriate for numerical values. I think the previous wording was more clear, with a small change: "The array is ordered based on protocol preference, with the first entry being the most preferred."

Thanks Sean - I had the same comment - but for some reason it seemed to have been lost when I clicked on Approve. Not sure what happened to it :-(

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

PR: https://git.openjdk.java.net/jdk/pull/7152



More information about the security-dev mailing list